projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ARM64: add patterns for csXYZ with reversed operands.
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
select-undef.ll
1
; RUN: llc -mtriple=arm-eabi -mcpu=swift -verify-machineinstrs %s -o /dev/null
2
3
define i32 @func(i32 %arg0, i32 %arg1) {
4
entry:
5
%cmp = icmp slt i32 %arg0, 10
6
%v = select i1 %cmp, i32 undef, i32 %arg1
7
ret i32 %v
8
}