aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/type_pun.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/type_pun.ll')
-rw-r--r--test/Transforms/InstCombine/type_pun.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/type_pun.ll b/test/Transforms/InstCombine/type_pun.ll
index 33143ef..098164c 100644
--- a/test/Transforms/InstCombine/type_pun.ll
+++ b/test/Transforms/InstCombine/type_pun.ll
@@ -10,6 +10,10 @@
; cleaning up the alloca/store/GEP/load.
+; Provide legal integer types.
+target datalayout = "p:32:32"
+
+
; Extracting the zeroth element in an i32 array.
define i32 @type_pun_zeroth(<16 x i8> %in) {
; CHECK-LABEL: @type_pun_zeroth(