mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
45ad4809a2
llvm-svn: 294753
13 lines
241 B
LLVM
13 lines
241 B
LLVM
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
|
|
;; RUN: | llvm-objdump -d - | FileCheck %s
|
|
|
|
define i1 @foo (i32 %a)
|
|
{
|
|
%1 = icmp eq i32 %a, 42
|
|
ret i1 %1
|
|
}
|
|
|
|
; CHECK: p0 = cmp.eq(r0,#42)
|
|
; CHECK: r0 = p0
|
|
; CHECK: jumpr r31
|