mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
0ace3c01f7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238556 91177308-0d34-0410-b5e6-96231b3b80d8
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 } |