projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Emit a better error when running out of registers on inline asm.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2004-03-30-Select-Max.ll
1
; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
2
; CHECK-NOT: {{j[lgbe]}}
3
4
define i32 @max(i32 %A, i32 %B) nounwind {
5
%gt = icmp sgt i32 %A, %B ; <i1> [#uses=1]
6
%R = select i1 %gt, i32 %A, i32 %B ; <i32> [#uses=1]
7
ret i32 %R
8
}
9