X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FScalarRepl%2Fload-store-aggregate.ll;h=c5008ac1312fea5fe0eb4defcd0b88a16a4bb186;hb=ea16ea59011ce6d5d9baaab16c33b1457ceab0da;hp=f6f9cbf022116c49201e31294132a3c1fd38f557;hpb=b1e1e82c54c060ea5dae09dae043234826ca2539;p=oota-llvm.git diff --git a/test/Transforms/ScalarRepl/load-store-aggregate.ll b/test/Transforms/ScalarRepl/load-store-aggregate.ll index f6f9cbf0221..c5008ac1312 100644 --- a/test/Transforms/ScalarRepl/load-store-aggregate.ll +++ b/test/Transforms/ScalarRepl/load-store-aggregate.ll @@ -1,8 +1,9 @@ ; This testcase shows that scalarrepl is able to replace struct alloca's which ; are directly loaded from or stored to (using the first class aggregates ; feature). +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" -; RUN: opt %s -scalarrepl | llvm-dis > %t +; RUN: opt < %s -scalarrepl -S > %t ; RUN: cat %t | not grep alloca %struct.foo = type { i32, i32 }