1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; RUN: llc < %s -mtriple=riscv32 | FileCheck %s
4 define i1 @f(i64 %LGV1) {
9 %B1 = xor i64 %LGV1, %LGV1
12 %C4 = icmp ule i64 %LGV1, %B5
16 define i64 @g(ptr %A, i64 %0) {
19 ; CHECK-NEXT: li a0, 1
20 ; CHECK-NEXT: sb a0, 0(zero)
22 store i64 poison, ptr %A, align 4
23 %LGV1 = load i64, ptr %A, align 4
24 %B1 = ashr i64 1, %LGV1
25 %C = icmp sle i64 %0, %B1
26 store i1 %C, ptr null, align 1