[llvm-commits] [llvm] r47782 - in /llvm/trunk: include/llvm/CodeGen/ValueTypes.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Duncan Sands
baldrick at free.fr
Sun Mar 9 00:45:11 PST 2008
Hi Dale,
> + if (MVT::is128BitVector(VT) || VT == MVT::ppcf128 || VT == MVT::f128)
> intVT = MVT::i128;
I still don't understand why you don't just do:
intVT = MVT::getIntegerType(MVT::getSizeInBits(VT));
if (isTypeLegal(intVT)) {
... use it ...
or, if you are happy to use illegal integers (but not apints):
...
if (!MVT::isExtendedVT(IntVT)) {
... use it ...
You tried to explain before but I didn't get it.
Ciao,
Duncan.
More information about the llvm-commits
mailing list