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:
3896948
)
Add more strength reduction testcases
author
Chris Lattner
<sabre@nondot.org>
Fri, 9 Aug 2002 23:33:58 +0000
(23:33 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 9 Aug 2002 23:33:58 +0000
(23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3283
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/setcc-strength-reduce.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/setcc-strength-reduce.ll
b/test/Transforms/InstCombine/setcc-strength-reduce.ll
index 1018ca5b6e00df0c09270e89c4aad06084d91bd5..375dac607146a00f831ec61c0f7cae28346b3d30 100644
(file)
--- a/
test/Transforms/InstCombine/setcc-strength-reduce.ll
+++ b/
test/Transforms/InstCombine/setcc-strength-reduce.ll
@@
-22,3
+22,13
@@
bool "test3"(sbyte %A) {
%B = setge sbyte %A, -127 ; setne %A, -128
ret bool %B
}
+
+bool %test4(sbyte %A) {
+ %B = setle sbyte %A, 126 ; setne %A, 127
+ ret bool %B
+}
+
+bool %test5(sbyte %A) {
+ %B = setlt sbyte %A, 127 ; setne %A, 127
+ ret bool %B
+}