aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-15 04:31:42 +0000
committerChris Lattner <sabre@nondot.org>2010-04-15 04:31:42 +0000
commitdc7d6c9ddc1d1527a06f61b5da806781ff047709 (patch)
treeb7e10922fc5dde038fc996d7fdddbf546face54e /test/CodeGen/X86
parent23ab896c131f98764e32818dc148b464b2010232 (diff)
downloadexternal_llvm-dc7d6c9ddc1d1527a06f61b5da806781ff047709.zip
external_llvm-dc7d6c9ddc1d1527a06f61b5da806781ff047709.tar.gz
external_llvm-dc7d6c9ddc1d1527a06f61b5da806781ff047709.tar.bz2
further tweak this to do something useful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll b/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll
index ee4ccfb..1d14620 100644
--- a/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll
+++ b/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll
@@ -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
}