Fix inlining to not lose the "cleanup" clause from landingpads
[oota-llvm.git] / test / Transforms / ArgumentPromotion / byval.ll
index 3a3458f3d941e719a168045b585c9813771f8ca2..44b26fc2f30c55c745c629e980cb61b85712ba20 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | opt -argpromotion -scalarrepl | llvm-dis | not grep load
+; RUN: opt < %s -argpromotion -scalarrepl -S | not grep load
+target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
 ; Argpromote + scalarrepl should change this to passing the two integers by value.
 
        %struct.ss = type { i32, i64 }