Fix PR10104 by adding a bounds check on a vector element access check. It was
[oota-llvm.git] / test / Transforms / ScalarRepl / DifferingTypes.ll
index eb56824a317ad7c64b0ff1dcc5687b76979a59a6..933c47f79874ba417fdd562d77adaf8ece4afedd 100644 (file)
@@ -3,6 +3,7 @@
 ; depending on the endianness of the target...
 ; RUN: opt < %s -scalarrepl -S | \
 ; RUN:   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 @testfunc(i32 %i, i8 %j) {
        %I = alloca i32         ; <i32*> [#uses=3]