summaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/malloc-promote-3.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GlobalOpt/malloc-promote-3.ll')
-rw-r--r--test/Transforms/GlobalOpt/malloc-promote-3.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Transforms/GlobalOpt/malloc-promote-3.ll b/test/Transforms/GlobalOpt/malloc-promote-3.ll
index d4ee4e861c..a920b61150 100644
--- a/test/Transforms/GlobalOpt/malloc-promote-3.ll
+++ b/test/Transforms/GlobalOpt/malloc-promote-3.ll
@@ -1,4 +1,6 @@
-; RUN: opt < %s -globalopt -S | not grep malloc
+; RUN: opt < %s -globalopt -globaldce -S | not grep malloc
+target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
+target triple = "i686-apple-darwin8"
@G = internal global i32* null ; <i32**> [#uses=4]