mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 17:31:50 +00:00
e9d8d5bb25
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252574 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
309 B
LLVM
17 lines
309 B
LLVM
; RUN: llc -march=hexagon -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
|
|
|
|
; CHECK: p0 = cmp.gt(r0,#-1); if (!p0.new) jump:nt
|
|
|
|
declare void @a()
|
|
declare void @b()
|
|
|
|
define void @foo(i32 %a) {
|
|
%b = icmp sgt i32 %a, -1
|
|
br i1 %b, label %x, label %y
|
|
x:
|
|
call void @a()
|
|
ret void
|
|
y:
|
|
call void @b()
|
|
ret void
|
|
} |