1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc %s -verify-machineinstrs -mtriple aarch64-unknown-unknown -run-pass=regbankselect -o - | FileCheck %s 3 4... 5--- 6name: test_f32.intrinsic_trunc 7alignment: 4 8legalized: true 9tracksRegLiveness: true 10frameInfo: 11 maxCallFrameSize: 0 12machineFunctionInfo: {} 13body: | 14 bb.0: 15 liveins: $s0 16 17 ; CHECK-LABEL: name: test_f32.intrinsic_trunc 18 ; CHECK: liveins: $s0 19 ; CHECK: [[COPY:%[0-9]+]]:fpr(s32) = COPY $s0 20 ; CHECK: [[INTRINSIC_TRUNC:%[0-9]+]]:fpr(s32) = G_INTRINSIC_TRUNC [[COPY]] 21 ; CHECK: $s0 = COPY [[INTRINSIC_TRUNC]](s32) 22 ; CHECK: RET_ReallyLR implicit $s0 23 %0:_(s32) = COPY $s0 24 %1:_(s32) = G_INTRINSIC_TRUNC %0 25 $s0 = COPY %1(s32) 26 RET_ReallyLR implicit $s0 27 28... 29--- 30name: test_f64.intrinsic_trunc 31alignment: 4 32legalized: true 33tracksRegLiveness: true 34frameInfo: 35 maxCallFrameSize: 0 36machineFunctionInfo: {} 37body: | 38 bb.0: 39 liveins: $d0 40 41 ; CHECK-LABEL: name: test_f64.intrinsic_trunc 42 ; CHECK: liveins: $d0 43 ; CHECK: [[COPY:%[0-9]+]]:fpr(s64) = COPY $d0 44 ; CHECK: [[INTRINSIC_TRUNC:%[0-9]+]]:fpr(s64) = G_INTRINSIC_TRUNC [[COPY]] 45 ; CHECK: $d0 = COPY [[INTRINSIC_TRUNC]](s64) 46 ; CHECK: RET_ReallyLR implicit $d0 47 %0:_(s64) = COPY $d0 48 %1:_(s64) = G_INTRINSIC_TRUNC %0 49 $d0 = COPY %1(s64) 50 RET_ReallyLR implicit $d0 51