[all-commits] [llvm/llvm-project] 5b17f8: [CodeGen][MC] Improve DenseMapInfo for Register/MC...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Sep 19 22:11:28 PDT 2024


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

  Changed paths:
    M llvm/include/llvm/CodeGen/Register.h
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/include/llvm/MC/MCRegister.h

  Log Message:
  -----------
  [CodeGen][MC] Improve DenseMapInfo for Register/MCRegister.

Make getEmptyKey() and getTombstoneKey() return a
Register/MCRegister instead of `unsigned`. Use operator==
isEqual.



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