[PATCH] Convert a vselect into a concat_vector if possible
Elena Demikhovsky
elena.demikhovsky at intel.com
Mon May 26 23:56:46 PDT 2014
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:17876
@@ -17840,1 +17875,3 @@
+ if (LHS.getOpcode() == ISD::CONCAT_VECTORS &&
+ RHS.getOpcode() == ISD::CONCAT_VECTORS &&
----------------
You do not check that the types are legal. On what stage this optimization should happen? <2 x float> that you take in your test is illegal.
http://reviews.llvm.org/D3916
More information about the llvm-commits
mailing list