[all-commits] [llvm/llvm-project] 046279: [AMDGPU] Propagate AGPR RC from PHI to its PHI ope...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Apr 3 11:23:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0462795095e57d9cac3c68ff1f28bc4bef8c4865
      https://github.com/llvm/llvm-project/commit/0462795095e57d9cac3c68ff1f28bc4bef8c4865
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
    M llvm/test/CodeGen/AMDGPU/mfma-loop.ll

  Log Message:
  -----------
  [AMDGPU] Propagate AGPR RC from PHI to its PHI operands

We can fix register class of PHI based on its all AGPR uses.
That leaves behind all PHIs which were already processed
earlier. Propagate RC back to PHI operands of a PHI.

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




More information about the All-commits mailing list