[PATCH] [x86] Add a ZERO_EXTEND_VECTOR_INREG DAG node and use it when widening vector types to be legal and a ZERO_EXTEND node is encountered.
hfinkel at anl.gov
hfinkel at anl.gov
Tue Jul 8 13:27:00 PDT 2014
================
Comment at: lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp:745
@@ +744,3 @@
+ int ExtLaneScale = NumSrcElements / NumElements;
+ int EndianOffset = TLI.isBigEndian() ? ExtLaneScale - 1 : 0;
+ for (int i = 0; i < NumElements; ++i)
----------------
Is the big-endian case covered by one of the existing regression tests?
http://reviews.llvm.org/D4405
More information about the llvm-commits
mailing list