[llvm-commits] [llvm] r113242 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Tue Sep 7 11:29:03 PDT 2010
Author: bruno
Date: Tue Sep 7 13:29:03 2010
New Revision: 113242
URL: http://llvm.org/viewvc/llvm-project?rev=113242&view=rev
Log:
Remove now useless check, because the code can be matched below, no need to leave it for isel
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=113242&r1=113241&r2=113242&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue Sep 7 13:29:03 2010
@@ -5273,7 +5273,7 @@
// Promote splats to v4f32.
if (SVOp->isSplat()) {
- if (isMMX || NumElems < 4)
+ if (isMMX)
return Op;
return PromoteSplat(SVOp, DAG);
}
More information about the llvm-commits
mailing list