[all-commits] [llvm/llvm-project] 5aa1a7: [RISCV] Remove 'frameindex' from list for ComplexP...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Apr 29 17:44:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5aa1a7b307ee7b8d2278f6cba0b3cc31adaaf76b
      https://github.com/llvm/llvm-project/commit/5aa1a7b307ee7b8d2278f6cba0b3cc31adaaf76b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-04-29 (Fri, 29 Apr 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list