[LLVMdev] Re: InstructionSelectBasicBlock question
ghost at cs.msu.su
Wed Mar 1 08:36:44 PST 2006
Vladimir Prus wrote:
> I have two questions about the above method of the SelectionDAGISel class.
> 1. The overrides in PPCDAGToDAGISel and in I64DAGToDAGISel are identical
> (except for PPCISD::FIRST_NUMBER vs. IA64ISD::FIRST_NUMBER).
> Maybe, this means that it would be better if SelectionDAGISel had default
> implementation? That would remove this code duplication.
And the Sparc backend has a much simpler implementation, so it seems that
the huge loop in PPC and I64 implementation is just no longer needed?
More information about the llvm-dev