mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
8 lines
200 B
LLVM
8 lines
200 B
LLVM
|
; RUN: llc < %s -march=arm -mcpu=swift -verify-machineinstrs
|
||
|
define i32 @func(i32 %arg0, i32 %arg1) {
|
||
|
entry:
|
||
|
%cmp = icmp slt i32 %arg0, 10
|
||
|
%v = select i1 %cmp, i32 undef, i32 %arg1
|
||
|
ret i32 %v
|
||
|
}
|