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
6 name: test_f32.intrinsic_trunc
9 tracksRegLiveness: true
12 machineFunctionInfo: {}
17 ; CHECK-LABEL: name: test_f32.intrinsic_trunc
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
24 %1:_(s32) = G_INTRINSIC_TRUNC %0
26 RET_ReallyLR implicit $s0
30 name: test_f64.intrinsic_trunc
33 tracksRegLiveness: true
36 machineFunctionInfo: {}
41 ; CHECK-LABEL: name: test_f64.intrinsic_trunc
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
48 %1:_(s64) = G_INTRINSIC_TRUNC %0
50 RET_ReallyLR implicit $d0