diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-04 23:20:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-04 23:20:46 +0000 |
commit | cff1fe5f9f35c69f504285781ba174f005b30850 (patch) | |
tree | c0e06169f0637763d2a91145bbb6c98b7a4e4a7b | |
parent | f69a98cea3ee06dbf936a977d3bd104c2e08652f (diff) |
Testcase for a bug that caused us to miscompile ptrdist/ks on sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20444 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll b/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll new file mode 100644 index 0000000000..05a43965a4 --- /dev/null +++ b/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll @@ -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 +} + |