aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis/CostModel/X86/cast.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/CostModel/X86/cast.ll')
-rw-r--r--test/Analysis/CostModel/X86/cast.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Analysis/CostModel/X86/cast.ll b/test/Analysis/CostModel/X86/cast.ll
index 298d5c6..75c97a7 100644
--- a/test/Analysis/CostModel/X86/cast.ll
+++ b/test/Analysis/CostModel/X86/cast.ll
@@ -53,6 +53,9 @@ define i32 @zext_sext(<8 x i1> %in) {
;CHECK: cost of 1 {{.*}} trunc
%F = trunc <8 x i32> undef to <8 x i16>
+ ;CHECK: cost of 3 {{.*}} trunc
+ %G = trunc <8 x i64> undef to <8 x i32>
+
ret i32 undef
}