diff options
| -rw-r--r-- | llvm/test/Regression/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll | 16 | 
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll b/llvm/test/Regression/CodeGen/SparcV9/2005-05-11-DecomposeConstantExprCrash.ll new file mode 100644 index 00000000000..8225213799a --- /dev/null +++ b/llvm/test/Regression/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 +}  | 

