1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -march=aarch64 -run-pass=legalizer %s -o - | FileCheck %s 3--- 4name: test_icmp 5body: | 6 bb.0.entry: 7 ; CHECK-LABEL: name: test_icmp 8 ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x0 9 ; CHECK: [[COPY1:%[0-9]+]]:_(s64) = COPY $x0 10 ; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s64) 11 ; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s64) 12 ; CHECK: [[FCMP:%[0-9]+]]:_(s32) = G_FCMP floatpred(oge), [[COPY]](s64), [[COPY1]] 13 ; CHECK: $w0 = COPY [[FCMP]](s32) 14 ; CHECK: [[FCMP1:%[0-9]+]]:_(s32) = G_FCMP floatpred(uno), [[TRUNC]](s32), [[TRUNC1]] 15 ; CHECK: $w0 = COPY [[FCMP1]](s32) 16 %0:_(s64) = COPY $x0 17 %1:_(s64) = COPY $x0 18 %2:_(s32) = G_TRUNC %0(s64) 19 %3:_(s32) = G_TRUNC %1(s64) 20 %4:_(s32) = G_FCMP floatpred(oge), %0(s64), %1 21 $w0 = COPY %4(s32) 22 %5:_(s32) = G_FCMP floatpred(uno), %2(s32), %3 23 $w0 = COPY %5(s32) 24 25... 26