From b908f8ad6a38d989c7f769e329d778e563c398f4 Mon Sep 17 00:00:00 2001 From: Kenneth Uildriks Date: Tue, 3 Nov 2009 15:29:06 +0000 Subject: Make opt default to not adding a target data string and update tests that depend on target data to supply it within the test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85900 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/ScalarRepl/arraytest.ll | 1 + 1 file changed, 1 insertion(+) (limited to 'test/Transforms/ScalarRepl/arraytest.ll') diff --git a/test/Transforms/ScalarRepl/arraytest.ll b/test/Transforms/ScalarRepl/arraytest.ll index 2f68af8a46..06a928c6d8 100644 --- a/test/Transforms/ScalarRepl/arraytest.ll +++ b/test/Transforms/ScalarRepl/arraytest.ll @@ -1,4 +1,5 @@ ; RUN: opt < %s -scalarrepl -mem2reg -S | not grep alloca +target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" define i32 @test() { %X = alloca [4 x i32] ; <[4 x i32]*> [#uses=1] -- cgit v1.2.3