[llvm-commits] [llvm] r94990 - in /llvm/trunk/lib/CodeGen/SelectionDAG: DAGCombiner.cpp SelectionDAG.cpp

Duncan Sands duncan.sands at math.u-psud.fr
Mon Feb 1 11:22:03 PST 2010


PS: My comment here wasn't relevant - I hadn't understood the situation.  Sorry
for the noise.

>> Fixed a couple of optimization with EXTRACT_VECTOR_ELT that assumes the result
>> type is the same as the element type of the vector.  EXTRACT_VECTOR_ELT can
>> be used to extended the width of an integer type.  This fixes a bug for
>> Generic/vector-casts.ll on a ppc750.
> 
> according to the comments in SelectionDAGNodes.h, the operand is only allowed
> to be wider (or the same as) the element type.  If the docs are wrong, please
> correct them.  Are they wrong?  Is it a good idea to allow the operand to be
> smaller than the element type, and if so what kind of implicit extension is
> being done - anyextend?





More information about the llvm-commits mailing list