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:
a16d442
)
instcombine doesn't do CSE, simplify unrelated detail
author
Chris Lattner
<sabre@nondot.org>
Sat, 3 Mar 2007 02:27:02 +0000
(
02:27
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 3 Mar 2007 02:27:02 +0000
(
02:27
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34867
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/bswap.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/bswap.ll
b/test/Transforms/InstCombine/bswap.ll
index 5eed8b372277fefb2f29636dc44a5cb1e469abed..da2354e96ee7cf4e9b1a462563c668ff9eaaf5d0 100644
(file)
--- a/
test/Transforms/InstCombine/bswap.ll
+++ b/
test/Transforms/InstCombine/bswap.ll
@@
-48,8
+48,7
@@
ushort %test5(ushort %a) {
%tmp1 = and int %tmp, 65280
%tmp2 = ashr int %tmp1, ubyte 8
%tmp2 = trunc int %tmp2 to short
- %tmp3 = zext ushort %a to int
- %tmp4 = and int %tmp3, 255
+ %tmp4 = and int %tmp, 255
%tmp5 = shl int %tmp4, ubyte 8
%tmp5 = trunc int %tmp5 to short
%tmp = or short %tmp2, %tmp5