projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e932de
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 20 Sep 2006 06:40:37 +0000
(06:40 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 20 Sep 2006 06:40:37 +0000
(06:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30516
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/PowerPC/select_lt0.ll
patch
|
blob
|
history
diff --git
a/test/CodeGen/PowerPC/select_lt0.ll
b/test/CodeGen/PowerPC/select_lt0.ll
index 586886dac9e0281bc3afe70f7061543f7318f47d..676c27fe57aed77abf014a5ef82a2007c7719e19 100644
(file)
--- a/
test/CodeGen/PowerPC/select_lt0.ll
+++ b/
test/CodeGen/PowerPC/select_lt0.ll
@@
-38,8
+38,14
@@
entry:
}
short %seli16_2(int %a, short %b) {
-entry:
%tmp.1 = setlt int %a, 0
%retval = select bool %tmp.1, short %b, short 0
ret short %retval
}
+
+int %seli32_a_a(int %a) {
+ %tmp = setlt int %a, 1
+ %min = select bool %tmp, int %a, int 0
+ ret int %min
+}
+