mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
9949cdf248
Emit explicit any-extend to avoid weird tstbit sequences.
12 lines
265 B
LLVM
12 lines
265 B
LLVM
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
|
|
;; RUN: | llvm-objdump -d - | FileCheck %s
|
|
|
|
define i1 @f0(i32 %a0, i32 %a1) {
|
|
%v0 = icmp ugt i32 %a0, %a1
|
|
ret i1 %v0
|
|
}
|
|
|
|
; CHECK: p0 = cmp.gtu(r0,r1)
|
|
; CHECK: r0 = mux(p0,#1,#0)
|
|
; CHECK: jumpr r31
|