aboutsummaryrefslogtreecommitdiffstats
path: root/test/Analysis
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-03-19 18:38:27 +0000
committerNadav Rotem <nrotem@apple.com>2013-03-19 18:38:27 +0000
commitb05130e1b20ed17ae9d5ab3351933babd27213e1 (patch)
tree0919c8c78dc13adfff0fe2dd5742f9b39e78f652 /test/Analysis
parenta45a22758de20f519385a8060e3e7d504deab3da (diff)
downloadexternal_llvm-b05130e1b20ed17ae9d5ab3351933babd27213e1.zip
external_llvm-b05130e1b20ed17ae9d5ab3351933babd27213e1.tar.gz
external_llvm-b05130e1b20ed17ae9d5ab3351933babd27213e1.tar.bz2
Optimize sext <4 x i8> and <4 x i16> to <4 x i64>.
Patch by Ahmad, Muhammad T <muhammad.t.ahmad@intel.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r--test/Analysis/CostModel/X86/cast.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Analysis/CostModel/X86/cast.ll b/test/Analysis/CostModel/X86/cast.ll
index bacc778..c8d0f6f 100644
--- a/test/Analysis/CostModel/X86/cast.ll
+++ b/test/Analysis/CostModel/X86/cast.ll
@@ -44,9 +44,9 @@ define i32 @zext_sext(<8 x i1> %in) {
%B = zext <8 x i16> undef to <8 x i32>
;CHECK: cost of 1 {{.*}} sext
%C = sext <4 x i32> undef to <4 x i64>
- ;CHECK: cost of 8 {{.*}} sext
+ ;CHECK: cost of 6 {{.*}} sext
%C1 = sext <4 x i8> undef to <4 x i64>
- ;CHECK: cost of 8 {{.*}} sext
+ ;CHECK: cost of 6 {{.*}} sext
%C2 = sext <4 x i16> undef to <4 x i64>
;CHECK: cost of 1 {{.*}} zext