[all-commits] [llvm/llvm-project] 243632: LiveRegUnits: Cleanup isReg checks

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 13 05:20:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 243632c63eb9f3e2e746cfb88e7b05a50b5edd4d
      https://github.com/llvm/llvm-project/commit/243632c63eb9f3e2e746cfb88e7b05a50b5edd4d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

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

  Log Message:
  -----------
  LiveRegUnits: Cleanup isReg checks

This is the common case and should be checked first. Provides a very
marginal compile time improvement on the example I'm looking at.


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

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

  Log Message:
  -----------
  DeadMachineInstructionElim: Don't repeat per-function init

This was happening for every iteration but only needs to be done once.


Compare: https://github.com/llvm/llvm-project/compare/db10b4710473...b7dae832e61d


More information about the All-commits mailing list