brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 4ffca79 Raw
51 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 52# RUN: llc -mtriple=riscv32 -run-pass=legalizer %s -o - | FileCheck %s3 4---5name:            test_ucmp_i326body:             |7  bb.1:8    liveins: $x10, $x119 10    ; CHECK-LABEL: name: test_ucmp_i3211    ; CHECK: liveins: $x10, $x1112    ; CHECK-NEXT: {{  $}}13    ; CHECK-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x1014    ; CHECK-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x1115    ; CHECK-NEXT: [[ICMP:%[0-9]+]]:_(s32) = G_ICMP intpred(sgt), [[COPY]](s32), [[COPY1]]16    ; CHECK-NEXT: [[ICMP1:%[0-9]+]]:_(s32) = G_ICMP intpred(slt), [[COPY]](s32), [[COPY1]]17    ; CHECK-NEXT: [[SUB:%[0-9]+]]:_(s32) = G_SUB [[ICMP]], [[ICMP1]]18    ; CHECK-NEXT: $x10 = COPY [[SUB]](s32)19    ; CHECK-NEXT: PseudoRET implicit $x1020    %0:_(s32) = COPY $x1021    %1:_(s32) = COPY $x1122    %2:_(s32) = G_SCMP %0(s32), %123    $x10 = COPY %2(s32)24    PseudoRET implicit $x1025 26...27---28name:            test_scmp_i3229alignment:       430body:             |31  bb.1:32    liveins: $x10, $x1133 34    ; CHECK-LABEL: name: test_scmp_i3235    ; CHECK: liveins: $x10, $x1136    ; CHECK-NEXT: {{  $}}37    ; CHECK-NEXT: [[COPY:%[0-9]+]]:_(s32) = COPY $x1038    ; CHECK-NEXT: [[COPY1:%[0-9]+]]:_(s32) = COPY $x1139    ; CHECK-NEXT: [[ICMP:%[0-9]+]]:_(s32) = G_ICMP intpred(sgt), [[COPY]](s32), [[COPY1]]40    ; CHECK-NEXT: [[ICMP1:%[0-9]+]]:_(s32) = G_ICMP intpred(slt), [[COPY]](s32), [[COPY1]]41    ; CHECK-NEXT: [[SUB:%[0-9]+]]:_(s32) = G_SUB [[ICMP]], [[ICMP1]]42    ; CHECK-NEXT: $x10 = COPY [[SUB]](s32)43    ; CHECK-NEXT: PseudoRET implicit $x1044    %0:_(s32) = COPY $x1045    %1:_(s32) = COPY $x1146    %2:_(s32) = G_SCMP %0(s32), %147    $x10 = COPY %2(s32)48    PseudoRET implicit $x1049 50...51