[all-commits] [llvm/llvm-project] 5e944e: [RISCV] Refactor SelectAddrRegImm to not depend on...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Jun 26 11:14:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e944e9eb72aa7ea7fe2542d18813a646b3933d1
      https://github.com/llvm/llvm-project/commit/5e944e9eb72aa7ea7fe2542d18813a646b3933d1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-06-26 (Sun, 26 Jun 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h

  Log Message:
  -----------
  [RISCV] Refactor SelectAddrRegImm to not depend on SelectBaseAddr.

SelectBaseAddr was a minor convenience to use since it already'
existed for vector load/store. D128187 is going to remove the other
uses of SelectBaseAddr so it has less reason to exist.

This patch removes the dependency on SelectBaseAddr and adds a new
SelectAddrFrameIndex to share some code with SelectFrameAddrRegImm.




More information about the All-commits mailing list