brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 4e51874 Raw
36 lines · plain
1# RUN: not --crash llc -verify-machineinstrs -run-pass none -mtriple=arm64 -o /dev/null %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name:            test_uscmp6body:             |7  bb.0:8 9    %2:_(p0) = G_IMPLICIT_DEF10    %3:_(p0) = G_IMPLICIT_DEF11    ; CHECK: Generic scmp/ucmp does not support pointers as operands12    %4:_(s1) = G_SCMP %2, %313 14    %12:_(s64) = G_IMPLICIT_DEF15    %13:_(s64) = G_IMPLICIT_DEF16    ; CHECK: Generic scmp/ucmp does not support pointers as a result17    %14:_(p0) = G_SCMP %12, %1318 19    %23:_(<2 x s32>) = G_IMPLICIT_DEF20    %24:_(<2 x s32>) = G_IMPLICIT_DEF21    ; CHECK: Generic vector scmp/ucmp must preserve number of lanes22    %5:_(s2) = G_UCMP  %23, %2423 24    %15:_(s32) = G_CONSTANT i32 025    %16:_(s64) = G_CONSTANT i64 226    ; CHECK: Type mismatch in generic instruction27    %17:_(s2) = G_SCMP %15, %1628 29    %18:_(s32) = G_CONSTANT i32 030    %19:_(s32) = G_CONSTANT i32 231    ; CHECK: Result type must be at least 2 bits wide32    %20:_(s1) = G_SCMP %18, %1933 34 35...36