[llvm-commits] [llvm] r113239 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Tue Sep 7 11:24:00 PDT 2010
Author: bruno
Date: Tue Sep 7 13:24:00 2010
New Revision: 113239
URL: http://llvm.org/viewvc/llvm-project?rev=113239&view=rev
Log:
Minor change. Since the checks are equivalent, use isMMX
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=113239&r1=113238&r2=113239&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Sep 7 13:24:00 2010
@@ -5475,7 +5475,7 @@
// Only a few shuffle masks are handled for 64-bit vectors (MMX), and
// 64-bit vectors which made to this point can't be handled, they are
// expanded.
- if (VT.getSizeInBits() == 64)
+ if (isMMX)
return SDValue();
if (ShuffleVectorSDNode::isSplatMask(&M[0], VT) &&
More information about the llvm-commits
mailing list