[llvm-commits] CVS: llvm/test/Transforms/InstCombine/bswap.ll

Chris Lattner sabre at nondot.org
Fri Mar 2 18:27:19 PST 2007



Changes in directory llvm/test/Transforms/InstCombine:

bswap.ll updated: 1.4 -> 1.5
---
Log message:

instcombine doesn't do CSE, simplify unrelated detail


---
Diffs of the changes:  (+1 -2)

 bswap.ll |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/test/Transforms/InstCombine/bswap.ll
diff -u llvm/test/Transforms/InstCombine/bswap.ll:1.4 llvm/test/Transforms/InstCombine/bswap.ll:1.5
--- llvm/test/Transforms/InstCombine/bswap.ll:1.4	Fri Dec  1 22:23:09 2006
+++ llvm/test/Transforms/InstCombine/bswap.ll	Fri Mar  2 20:27:02 2007
@@ -48,8 +48,7 @@
         %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






More information about the llvm-commits mailing list