Do not eliminate allocas whose alignment exceeds that of the
[oota-llvm.git] / test / Transforms / ScalarRepl / union-pointer.ll
index fe702fa21772369a3c8e80442420ca0f6652bfb1..ea4ec14e5621ba7ad513c137b4a0cfb9bee7bfc3 100644 (file)
@@ -3,7 +3,7 @@
 ; RUN:   not grep alloca
 ; RUN: opt < %s -scalarrepl -S | grep {ret i8}
 
-target datalayout = "e-p:32:32"
+target datalayout = "e-p:32:32-n8:16:32"
 target triple = "i686-apple-darwin8.7.2"
        %struct.Val = type { i32*, i32 }