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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/test/CodeGen/AMDGPU/mfma-loop.ll | ||
---|---|---|
534 | Is it a real case?! This is SSA, value should be defined earlier. |
llvm/test/CodeGen/AMDGPU/mfma-loop.ll | ||
---|---|---|
534 | I cannot create a relevant test. If PHI refers itself it does not refer an MFMA inside the loop which is needed to start propagation. I.e. such PHI never triggers this code. |
s/themself/themselves