[all-commits] [llvm/llvm-project] 738c73: RegAllocFast: Make self loop live-out heuristic mo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 16 10:13:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 738c73a454881ca78214816754c1b82941d0cd26
      https://github.com/llvm/llvm-project/commit/738c73a454881ca78214816754c1b82941d0cd26
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-09-16 (Wed, 16 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocFast.cpp
    A llvm/test/CodeGen/AMDGPU/fastregalloc-self-loop-heuristic.mir

  Log Message:
  -----------
  RegAllocFast: Make self loop live-out heuristic more aggressive

This currently has no impact on code, but prevents sizeable code size
regressions after D52010. This prevents spilling and reloading all
values inside blocks that loop back. Add a baseline test which would
regress without this patch.




More information about the All-commits mailing list