summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/constant-fold-gep.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/constant-fold-gep.ll')
-rw-r--r--test/Transforms/InstCombine/constant-fold-gep.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/constant-fold-gep.ll b/test/Transforms/InstCombine/constant-fold-gep.ll
index 5a7aef3d397a0..4be1a9c838d2e 100644
--- a/test/Transforms/InstCombine/constant-fold-gep.ll
+++ b/test/Transforms/InstCombine/constant-fold-gep.ll
@@ -1,4 +1,5 @@
; RUN: opt < %s -instcombine -S | FileCheck %s
+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"
; Constant folding should fix notionally out-of-bounds indices
; and add inbounds keywords.