forked from OSchip/llvm-project
[RISCV] Remove 'frameindex' from list for ComplexPattern. NFC
Putting a node in this list allows the node to be used as the root of an isel pattern that would then call the ComplexPattern. The usual case is to use the ComplexPattern as the operand of another operator. AddrFI is never used as a root operation. frameindex is handled directly with custom code in RISCVISelDAGToDAG::Select. So adding frameindex to the list here serves no purpose.
This commit is contained in:
parent
26c82f3d1d
commit
5aa1a7b307
|
@ -367,7 +367,7 @@ def uimm6gt32 : ImmLeaf<XLenVT, [{
|
|||
|
||||
// Addressing modes.
|
||||
// Necessary because a frameindex can't be matched directly in a pattern.
|
||||
def AddrFI : ComplexPattern<iPTR, 1, "SelectAddrFI", [frameindex], []>;
|
||||
def AddrFI : ComplexPattern<iPTR, 1, "SelectAddrFI">;
|
||||
def BaseAddr : ComplexPattern<iPTR, 1, "SelectBaseAddr">;
|
||||
|
||||
// Return the negation of an immediate value.
|
||||
|
|
Loading…
Reference in New Issue