[all-commits] [llvm/llvm-project] 70193b: Re-land [GreedyRA ORE] Add Cost of spill locations...

serguei-katkov via All-commits all-commits at lists.llvm.org
Tue Apr 20 02:22:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70193bdfc06fe85114f1dcea463991dbd0c7b630
      https://github.com/llvm/llvm-project/commit/70193bdfc06fe85114f1dcea463991dbd0c7b630
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M clang/test/CodeGen/opt-record-MIR.c
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/test/CodeGen/AArch64/arm64-spill-remarks-treshold-hotness.ll
    M llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll
    M llvm/test/CodeGen/X86/statepoint-ra.ll

  Log Message:
  -----------
  Re-land [GreedyRA ORE] Add Cost of spill locations into remark

Re-land the patch with a fix of clang test.

Cost of spill location is computed basing on relative branch frequency
where corresponding spill/reload/copy are located.

While the number itself is highly depends on incoming IR,
the total cost can be used when do some changes in RA.

Revert "Revert "[GreedyRA ORE] Add Cost of spill locations into remark""
This reverts commit 680f3d6de79f7dd75ee0cda256a541d18e504a22.




More information about the All-commits mailing list