[LLVMdev] initial selection DAG

listiges at arcor.de listiges at arcor.de
Fri Oct 12 02:07:27 PDT 2012


Hi,

I wonder how the initial selection DAG is built in the backends.
>From working backends I get:
----8<-------
Initial selection DAG: BB#0 'main:'
SelectionDAG has 18 nodes:
----8<-------
>From my (not working) backend I get:
----8<-------
Initial selection DAG: BB#0 'main:'
SelectionDAG has 15 nodes:
----8<-------
I miss three nodes and I wonder what do I have to implement to get at least the right initial selection DAG?

Do I have to define all instructions in the td files first?

Cheers,
Nico



More information about the llvm-dev mailing list