summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-10-29 21:23:04 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-10-29 21:23:04 +0000
commitb00418af67b36dcd7d70a268ebba3480c1011348 (patch)
treebf0c4b39d2d831774d5ec7b7a182a2c29fb3c3f9 /test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
parentf86545ecfdb48a43e62ce7dfd312913b0a24240b (diff)
downloadllvm-b00418af67b36dcd7d70a268ebba3480c1011348.tar.gz
llvm-b00418af67b36dcd7d70a268ebba3480c1011348.tar.bz2
llvm-b00418af67b36dcd7d70a268ebba3480c1011348.tar.xz
Add a new DAGCombine optimization for BUILD_VECTOR.
If all of the inputs are zero/any_extended, create a new simple BV which can be further optimized by other BV optimizations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143297 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll')
-rw-r--r--test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll b/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
index 025ab2e7c1..63a7da8755 100644
--- a/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
+++ b/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-linux -mattr=+mmx | grep movd | count 3
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=+mmx | grep movd | count 2
define i64 @a(i32 %a, i32 %b) nounwind readnone {
entry: