[ValueTracking] test trunc to i1 as condition in dominating condition. (NFC)
[llvm-project.git] / llvm / test / MC / Hexagon / inst_cmp_ult.ll
blob2d2ed54e9c6ec5d9d25bc4fc73a8141f37e2d5b4
1 ;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
2 ;; RUN: | llvm-objdump --no-print-imm-hex -d - | FileCheck %s
4 define i1 @f0(i32 %a0, i32 %a1) {
5   %v0 = icmp ult i32 %a0, %a1
6   ret i1 %v0
9 ; CHECK: p0 = cmp.gtu(r1,r0)
10 ; CHECK: r0 = mux(p0,#1,#0)
11 ; CHECK: jumpr r31