aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/cast2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/InstCombine/cast2.ll')
-rw-r--r--test/Transforms/InstCombine/cast2.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/cast2.ll b/test/Transforms/InstCombine/cast2.ll
index 0ae869f..2941ee0 100644
--- a/test/Transforms/InstCombine/cast2.ll
+++ b/test/Transforms/InstCombine/cast2.ll
@@ -1,5 +1,6 @@
; Tests to make sure elimination of casts is working correctly
; RUN: opt < %s -instcombine -S | FileCheck %s
+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"
define i16 @test1(i16 %a) {
%tmp = zext i16 %a to i32 ; <i32> [#uses=2]