[all-commits] [llvm/llvm-project] dc9b17: [RISCV] Use a helper function to reduce duplicated...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Dec 11 00:35:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc9b17884e4b1e4c07a2d4fccc929d55b3ce1054
      https://github.com/llvm/llvm-project/commit/dc9b17884e4b1e4c07a2d4fccc929d55b3ce1054
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-12-11 (Sun, 11 Dec 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSExtWRemoval.cpp

  Log Message:
  -----------
  [RISCV] Use a helper function to reduce duplicated code in RISCVSExtWRemoval. NFC

We were checking for virtual register and calling getVReg in
multiple places before adding to the worklist.




More information about the All-commits mailing list