[all-commits] [llvm/llvm-project] fca2a4: [RISCV] Simplify FindRegWithEncoding in copyPhysRe...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Apr 16 21:47:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fca2a493251597967d5d758ea0748c66dd29371a
      https://github.com/llvm/llvm-project/commit/fca2a493251597967d5d758ea0748c66dd29371a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

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

  Log Message:
  -----------
  [RISCV] Simplify FindRegWithEncoding in copyPhysRegVector. NFC (#89001)

Instead of searching all encodings, we can convert the encoding back to
a register and use getMatchingSuperReg.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list