1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3
2 # RUN: llc -mtriple=riscv64 -mattr='+d,+zfa' -verify-machineinstrs -run-pass=riscv-opt-w-instrs %s -o - | FileCheck %s --check-prefix=CHECK-ZFA
6 tracksRegLiveness: true
11 ; CHECK-ZFA-LABEL: name: fcvtmod_w_d
12 ; CHECK-ZFA: liveins: $x10, $x11
13 ; CHECK-ZFA-NEXT: {{ $}}
14 ; CHECK-ZFA-NEXT: [[COPY:%[0-9]+]]:fpr64 = COPY $x10
15 ; CHECK-ZFA-NEXT: [[COPY1:%[0-9]+]]:gpr = COPY $x11
16 ; CHECK-ZFA-NEXT: [[FCVTMOD_W_D:%[0-9]+]]:gpr = nofpexcept FCVTMOD_W_D [[COPY]], 1
17 ; CHECK-ZFA-NEXT: [[ADD:%[0-9]+]]:gpr = ADD [[COPY1]], [[FCVTMOD_W_D]]
18 ; CHECK-ZFA-NEXT: $x10 = COPY [[ADD]]
19 ; CHECK-ZFA-NEXT: $x11 = COPY [[FCVTMOD_W_D]]
20 ; CHECK-ZFA-NEXT: PseudoRET
24 %2:gpr = nofpexcept FCVTMOD_W_D %0, 1