1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2 ; RUN: llc -mtriple=riscv64 -O0 < %s | FileCheck %s
4 ; Make sure we don't run LiveIntervals at O0, otherwise it will crash when
5 ; running on this unreachable block.
9 ; CHECK: # %bb.0: # %BB
10 ; CHECK-NEXT: addi sp, sp, -16
11 ; CHECK-NEXT: .cfi_def_cfa_offset 16
12 ; CHECK-NEXT: j .LBB0_1
13 ; CHECK-NEXT: .LBB0_1: # %BB1
14 ; CHECK-NEXT: # =>This Inner Loop Header: Depth=1
15 ; CHECK-NEXT: li a0, 0
16 ; CHECK-NEXT: sd a0, 8(sp) # 8-byte Folded Spill
17 ; CHECK-NEXT: j .LBB0_1
18 ; CHECK-NEXT: # %bb.2: # %BB1
19 ; CHECK-NEXT: li a0, 0
20 ; CHECK-NEXT: bnez a0, .LBB0_1
21 ; CHECK-NEXT: j .LBB0_3
22 ; CHECK-NEXT: .LBB0_3: # %BB2
23 ; CHECK-NEXT: ld a0, 8(sp) # 8-byte Folded Reload
24 ; CHECK-NEXT: addi sp, sp, 16
31 %B = fcmp true float 0.000000e+00, 0.000000e+00
33 br i1 %C, label %BB1, label %BB2