[llvm-commits] [llvm] r101341 - /llvm/trunk/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll

Chris Lattner sabre at nondot.org
Wed Apr 14 21:31:42 PDT 2010


Author: lattner
Date: Wed Apr 14 23:31:42 2010
New Revision: 101341

URL: http://llvm.org/viewvc/llvm-project?rev=101341&view=rev
Log:
further tweak this to do something useful.

Modified:
    llvm/trunk/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll

Modified: llvm/trunk/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll?rev=101341&r1=101340&r2=101341&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll Wed Apr 14 23:31:42 2010
@@ -1,17 +1,15 @@
 ; RUN: llc < %s -march=x86-64
 
-	%struct.tempsym_t = type { i8*, i8*, i8*, i8*, i32, i32, i32, i32, i32 }
-
-define fastcc signext i8 @S_next_symbol(%struct.tempsym_t* %symptr) nounwind ssp {
+define fastcc void @S_next_symbol(i448* %P) nounwind ssp {
 entry:
 	br label %bb14
 
 bb14:		; preds = %bb
-	%srcval16 = load i448* null, align 8		; <i448> [#uses=1]
+	%srcval16 = load i448* %P, align 8		; <i448> [#uses=1]
 	%tmp = zext i32 undef to i448		; <i448> [#uses=1]
 	%tmp15 = shl i448 %tmp, 288		; <i448> [#uses=1]
 	%mask = and i448 %srcval16, -2135987035423586845985235064014169866455883682256196619149693890381755748887481053010428711403521		; <i448> [#uses=1]
 	%ins = or i448 %tmp15, %mask		; <i448> [#uses=1]
-	store i448 %ins, i448* null, align 8
-	ret i8 1
+	store i448 %ins, i448* %P, align 8
+	ret void
 }





More information about the llvm-commits mailing list