[all-commits] [llvm/llvm-project] 9a2798: [CodeGen][NFC] Hoist budget check out of loop

Max Kazantsev via All-commits all-commits at lists.llvm.org
Tue Apr 5 00:29:03 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a2798c7a36e3261ac01adb617785da8f1165767
      https://github.com/llvm/llvm-project/commit/9a2798c7a36e3261ac01adb617785da8f1165767
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

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

  Log Message:
  -----------
  [CodeGen][NFC] Hoist budget check out of loop

Less computations & early exit if we know for sure that the limit will be exceeded.




More information about the All-commits mailing list