[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/shift.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 5 23:48:40 PST 2006
Changes in directory llvm/test/Regression/Transforms/InstCombine:
shift.ll updated: 1.21 -> 1.22
---
Log message:
A case that instcombine is not catching.
---
Diffs of the changes: (+7 -0)
shift.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/shift.ll
diff -u llvm/test/Regression/Transforms/InstCombine/shift.ll:1.21 llvm/test/Regression/Transforms/InstCombine/shift.ll:1.22
--- llvm/test/Regression/Transforms/InstCombine/shift.ll:1.21 Sun Sep 18 00:10:39 2005
+++ llvm/test/Regression/Transforms/InstCombine/shift.ll Fri Jan 6 01:48:28 2006
@@ -180,3 +180,10 @@
ret uint %tmp.6
}
+int %test26(uint %A) { ;; handle casts between shifts.
+ %B = shr uint %A, ubyte 1
+ %C = cast uint %B to int
+ %D = shl int %C, ubyte 1
+ ret int %D
+}
+
More information about the llvm-commits
mailing list