[llvm-commits] [llvm] r42981 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/LegalizeDAGTypes.cpp lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp utils/TableGen/DAGISelEmitter.cpp

Duncan Sands baldrick at free.fr
Mon Oct 15 07:19:05 PDT 2007


> > +SDOperand DAGTypeLegalizer::PromoteResult_TRUNCATE(SDNode *N) {
> > +  MVT::ValueType NVT = TLI.getTypeToTransformTo(N->getValueType(0));
> > +  switch (getTypeAction(N->getOperand(0).getValueType())) {
> 
> Presumably this switch is redundant, because it must be Promote,
> and you just didn't get around to cleaning it up yet?

Please ignore this, I understand how it works now.

Ciao,

Duncan.



More information about the llvm-commits mailing list