[llvm-commits] [llvm] r52004 - /llvm/trunk/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
Zhou Sheng
zhousheng00 at gmail.com
Thu Jun 5 07:25:11 PDT 2008
Author: sheng
Date: Thu Jun 5 09:25:11 2008
New Revision: 52004
URL: http://llvm.org/viewvc/llvm-project?rev=52004&view=rev
Log:
Add a test case for opt -instcombine bug fix in revision 52003.
Added:
llvm/trunk/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
Added: llvm/trunk/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll?rev=52004&view=auto
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll (added)
+++ llvm/trunk/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll Thu Jun 5 09:25:11 2008
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | opt -instcombine
+
+define i65 @foo(i65 %x) nounwind {
+entry:
+ %tmp2 = ashr i65 %x, 65 ; <i65> [#uses=1]
+ ret i65 %tmp2
+}
More information about the llvm-commits
mailing list