diff options
author | John Criswell <criswell@uiuc.edu> | 2005-05-11 21:47:35 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2005-05-11 21:47:35 +0000 |
commit | a65640edd0d77400e3d9d1e1ae189c44fa0c2e34 (patch) | |
tree | d9f5196002ec03c05a133529f9602341443f11a6 | |
parent | d9770958389e113a3713fde53d03a95b1d621565 (diff) |
Regression test for PR#563.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21879 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll b/test/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll new file mode 100644 index 0000000000..8225213799 --- /dev/null +++ b/test/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll @@ -0,0 +1,16 @@ +; ModuleID = 'bugpoint-reduced-simplified.bc' +; Reduced from the hash benchmark from the ShootOut C++ benchmark test +; +; RUN: llvm-as < %s | llc -march=sparcv9 + +target endian = big +target pointersize = 64 +%_ZN9__gnu_cxx16__stl_prime_listE = external global [28 x ulong] ; <[28 x ulong]*> [#uses=3] + +implementation ; Functions: + +fastcc void %_ZSt11lower_boundIPKmmET_S2_S2_RKT0_() { +entry: + %retval = select bool setgt (long shr (long sub (long cast (ulong* getelementptr ([28 x ulong]* %_ZN9__gnu_cxx16__stl_prime_listE, long 0, long 28) to long), long cast ([28 x ulong]* %_ZN9__gnu_cxx16__stl_prime_listE to long)), ubyte 3), long 0), ulong* null, ulong* getelementptr ([28 x ulong]* %_ZN9__gnu_cxx16__stl_prime_listE, long 0, long 0) ; <ulong*> [#uses=0] + ret void +} |