[PATCH] TableGen: allow non-leaf ComplexPatterns
jverma at codeaurora.org
Thu May 15 12:25:18 PDT 2014
def : Pat <(stOp (OpNode (ldOp (addrPred IntRegs:$addr, extPred:$offset)),
(addrPred (i32 IntRegs:$addr), extPred:$offset)),
(MI IntRegs:$addr, extPred:$offset, (xformFunc immPred:$bitend))>;
Your patch seems to be doing the right thing. However, I still don't understand the implication of your change on the complex patterns, SelectADDRriU6_[0-2], defined in HexagonISelDAGToDAG.cpp. Can you please explain it a little?
More information about the llvm-commits