mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
084c4d499d
llvm-svn: 238556
12 lines
251 B
LLVM
12 lines
251 B
LLVM
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
|
|
;; RUN: | llvm-objdump -d - | FileCheck %s
|
|
|
|
define i1 @foo (i32 %a, i32 %b)
|
|
{
|
|
%1 = icmp sgt i32 %a, %b
|
|
ret i1 %1
|
|
}
|
|
|
|
; CHECK: p0 = cmp.gt(r0, r1)
|
|
; CHECK: r0 = p0
|
|
; CHECK: jumpr r31 } |