Hello.
I’ve met a problem that eliminates a live code in code generation phase.
The initially generated code is shown as follows (as a pseudo code):
( Before pseudo-code expansion. )
Hello.
I’ve met a problem that eliminates a live code in code generation phase.
The initially generated code is shown as follows (as a pseudo code):
( Before pseudo-code expansion. )
I assume you have your own target? I haven’t seen this happening with one of the standard targets.
Your analysis is correct, SELECT_CC shouldn’t be scheduled there.
Normally, LowerCall will create glue edges between the copyToReg SelectionDAG nodes and the CALL node. Is your target not doing that?
/jakob
Dear Oleson,
Due to your help, I found the bug in my own target.
I missed out a glue option of the JumpLink instruction in my InstrInfo.td.
Thank you so much !
Hae-woo Park
2011/10/15 Jakob Stoklund Olesen <stoklund@2pi.dk>