[LLVMdev] combine ISD::SETCC by custom routine

ether zhhb etherzhhb at gmail.com
Fri Dec 11 01:49:55 PST 2009


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


More information about the llvm-dev mailing list