projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ee041
)
fix a typo
author
Shuxin Yang
<shuxin.llvm@gmail.com>
Wed, 5 Dec 2012 00:33:16 +0000
(
00:33
+0000)
committer
Shuxin Yang
<shuxin.llvm@gmail.com>
Wed, 5 Dec 2012 00:33:16 +0000
(
00:33
+0000)
llvm-svn: 169345
llvm/test/Transforms/InstCombine/xor2.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/InstCombine/xor2.ll
b/llvm/test/Transforms/InstCombine/xor2.ll
index
4ff3b1a
..
be06d79
100644
(file)
--- a/
llvm/test/Transforms/InstCombine/xor2.ll
+++ b/
llvm/test/Transforms/InstCombine/xor2.ll
@@
-72,7
+72,7
@@
test5:
; only bits from X or Y are demanded.
; e.g. the "x ^ 1234" can be optimized into x in the context of "t >> 16".
; Put in other word, t >> 16 -> x >> 16.
-; unsigned foo(unsigned x) { nsigned t = x ^ 1234; ; return (t >> 16) + t;}
+; unsigned foo(unsigned x) {
u
nsigned t = x ^ 1234; ; return (t >> 16) + t;}
define i32 @test6(i32 %x) {
%xor = xor i32 %x, 1234
%shr = lshr i32 %xor, 16