[llvm-commits] [llvm] r163830 - in /llvm/trunk: lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp test/CodeGen/X86/bitcast-i256.ll

Duncan Sands baldrick at free.fr
Fri Sep 14 00:35:10 PDT 2012


Hi Michael,

> Enhance type legalization on bitcast from vector to integer
>
> - Find a legal vector type before casting and extracting element from it.
> - As the new vector type may have more than 2 elements, build the final
>    hi/lo pair by BFS pairing them from bottom to top.

thanks for doing this.  However I'm not convinced it is correct on big-endian
machines.  What do you think?

Ciao, Duncan.



More information about the llvm-commits mailing list