Add a test case for opt -instcombine bug fix in revision 52003.

llvm-svn: 52004
This commit is contained in:
Zhou Sheng 2008-06-05 14:25:11 +00:00
parent fbe1dc240c
commit c775e462a8
1 changed files with 7 additions and 0 deletions

View File

@ -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
}