[LLVMdev] combine ISD::SETCC by custom routine

ether zhhb
Fri, 11 Dec 2009 09:49:55 -0000

hi,

i have a backend that want to do custom combine on SETCC nodes.

but some time SETCC was combined into BR_CC before i can visit it to
do my own combine, because DAGCombiner always do its own combine
before custom combine. so, is there anyway to prevent it being
combined without changing the logic of DAGCombiner?

thank you very much

--ether