Testcase for a bug that caused us to miscompile ptrdist/ks on sparc.

llvm-svn: 20444
This commit is contained in:
Chris Lattner 2005-03-04 23:20:46 +00:00
parent f3cd1477c3
commit 6cc4ee0f24
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'ret bool false'
bool %test(ulong %tmp.169) {
%tmp.1710 = shr ulong %tmp.169, ubyte 1
%tmp.1912 = setgt ulong %tmp.1710, 0
ret bool %tmp.1912
}