[all-commits] [llvm/llvm-project] 057934: [AMDGPU] Fix insert of SIPreAllocateWWMRegs in Fas...

Carl Ritson via All-commits all-commits at lists.llvm.org
Tue Oct 27 20:15:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 057934a6d7faa5b91f016a5245c16adbde4d42ff
      https://github.com/llvm/llvm-project/commit/057934a6d7faa5b91f016a5245c16adbde4d42ff
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/wwm-reserved.ll

  Log Message:
  -----------
  [AMDGPU] Fix insert of SIPreAllocateWWMRegs in FastRegAlloc

SIPreAllocateWWMRegs was being inserted after RegisterCoalescer
but this pass does not exist during FastAlloc so pre-allocation
pass was never being run.
Insert pre-allocation after TwoAddressInstructionPass instead.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D90236




More information about the All-commits mailing list