[all-commits] [llvm/llvm-project] 508e73: [CodeGen] Use DenseMapInfo<Register> to implement ...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Sep 15 10:18:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 508e734e33a278ecab2306a5fc7e37920cc51dac
      https://github.com/llvm/llvm-project/commit/508e734e33a278ecab2306a5fc7e37920cc51dac
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-15 (Sun, 15 Sep 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h

  Log Message:
  -----------
  [CodeGen] Use DenseMapInfo<Register> to implement DenseMapInfo<TargetInstrInfo::RegSubRegPair>. NFC

Instead of casting Register to unsigned to use DenseMapInfo<unsigned>.


  Commit: 2f48178825686283adc6903aae3626cff8d9797c
      https://github.com/llvm/llvm-project/commit/2f48178825686283adc6903aae3626cff8d9797c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-15 (Sun, 15 Sep 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/VirtRegMap.h

  Log Message:
  -----------
  [VirtRegMap] Use Register for Virt2ShapeMap key. NFC


  Commit: 23953798f3cf5d292947ca4e6e46db25921acd5e
      https://github.com/llvm/llvm-project/commit/23953798f3cf5d292947ca4e6e46db25921acd5e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-15 (Sun, 15 Sep 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/VirtRegMap.h
    M llvm/lib/CodeGen/VirtRegMap.cpp

  Log Message:
  -----------
  [VirtRegMap] Remove unnecessary calls to Register::id() accessing IndexMaps.

VirtReg2IndexFunctor already takes a Register.


Compare: https://github.com/llvm/llvm-project/compare/4e09d7bc2ce4...23953798f3cf

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