[all-commits] [llvm/llvm-project] 6c44a7: RegAlloc: Use SmallSet instead of std::set

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 12 05:15:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c44a7179f1747ec38d580e6b50bde98555ad811
      https://github.com/llvm/llvm-project/commit/6c44a7179f1747ec38d580e6b50bde98555ad811
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/CalcSpillWeights.cpp

  Log Message:
  -----------
  RegAlloc: Use SmallSet instead of std::set

There shouldn't be more than a small handful of hints at most.


  Commit: b5041527c75de2f409aa9e2e6deba12b17834c59
      https://github.com/llvm/llvm-project/commit/b5041527c75de2f409aa9e2e6deba12b17834c59
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-09-12 (Mon, 12 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/DeadMachineInstructionElim.cpp
    M llvm/test/CodeGen/AMDGPU/fold-immediate-operand-shrink.mir

  Log Message:
  -----------
  DeadMachineInstructionElim: Switch to using LiveRegUnits

Theoretically improves compile time for targets with many overlapping
registers


Compare: https://github.com/llvm/llvm-project/compare/f0403c853bc9...b5041527c75d


More information about the All-commits mailing list