# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -mtriple=aarch64 -run-pass=regbankselect -verify-machineinstrs %s -o - | FileCheck %s ... --- name: fp_inputs legalized: true body: | bb.0: liveins: $s0, $s1 ; CHECK-LABEL: name: fp_inputs ; CHECK: %lhs:fpr(s32) = COPY $s0 ; CHECK: %rhs:fpr(s32) = COPY $s1 ; CHECK: %minnum:fpr(s32) = G_FMINNUM %lhs, %rhs ; CHECK: $s0 = COPY %minnum(s32) ; CHECK: RET_ReallyLR implicit $s0 %lhs:_(s32) = COPY $s0 %rhs:_(s32) = COPY $s1 %minnum:_(s32) = G_FMINNUM %lhs, %rhs $s0 = COPY %minnum(s32) RET_ReallyLR implicit $s0 ... --- name: gp_inputs legalized: true body: | bb.0: liveins: $w0, $w1 ; CHECK-LABEL: name: gp_inputs ; CHECK: %lhs:gpr(s32) = COPY $w0 ; CHECK: %rhs:gpr(s32) = COPY $w1 ; CHECK: [[COPY:%[0-9]+]]:fpr(s32) = COPY %lhs(s32) ; CHECK: [[COPY1:%[0-9]+]]:fpr(s32) = COPY %rhs(s32) ; CHECK: %minnum:fpr(s32) = G_FMINNUM [[COPY]], [[COPY1]] ; CHECK: $s0 = COPY %minnum(s32) ; CHECK: RET_ReallyLR implicit $s0 %lhs:_(s32) = COPY $w0 %rhs:_(s32) = COPY $w1 %minnum:_(s32) = G_FMINNUM %lhs, %rhs $s0 = COPY %minnum(s32) RET_ReallyLR implicit $s0 ... --- name: gp_use legalized: true body: | bb.0: liveins: $s0, $s1 ; CHECK-LABEL: name: gp_use ; CHECK: %lhs:fpr(s32) = COPY $s0 ; CHECK: %rhs:fpr(s32) = COPY $s1 ; CHECK: %minnum:fpr(s32) = G_FMINNUM %lhs, %rhs ; CHECK: $w0 = COPY %minnum(s32) ; CHECK: RET_ReallyLR implicit $w0 %lhs:_(s32) = COPY $s0 %rhs:_(s32) = COPY $s1 %minnum:_(s32) = G_FMINNUM %lhs, %rhs $w0 = COPY %minnum(s32) RET_ReallyLR implicit $w0