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:
38e66bd
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Sat, 10 Apr 2004 22:01:27 +0000
(22:01 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 10 Apr 2004 22:01:27 +0000
(22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12818
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/add.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/add.ll
b/test/Transforms/InstCombine/add.ll
index e7548fb81b53eee1b2134d56128eae0547c6b18f..8c99eac39706cf4f544f559de304d1bb8ffdbeba 100644
(file)
--- a/
test/Transforms/InstCombine/add.ll
+++ b/
test/Transforms/InstCombine/add.ll
@@
-123,4
+123,10
@@
int %test19(bool %C) {
ret int %V
}
+int %test20(int %x) {
+ %tmp.2 = xor int %x, -2147483648
+ ;; Add of sign bit -> xor of sign bit.
+ %tmp.4 = add int %tmp.2, -2147483648
+ ret int %tmp.4
+}