- Don't create COPY instructions between PHI nodes.
- Don't create V_ACCVGPR_WRITE with operands that aren't AGPR_32
Solves SWDEV-410408
Paths
| Differential D155080
[AMDGPU] Corrrectly emit AGPR copies in tryFoldPhiAGPR ClosedPublic Authored by Pierre-vh on Jul 12 2023, 6:10 AM.
Details
Summary
Solves SWDEV-410408
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Jul 12 2023, 12:52 PM Pierre-vh added inline comments.
This revision was landed with ongoing or failed builds.Jul 12 2023, 11:55 PM Closed by commit rG361e9eec515a: [AMDGPU] Corrrectly emit AGPR copies in tryFoldPhiAGPR (authored by Pierre-vh). · Explain Why This revision was automatically updated to reflect the committed changes. Pierre-vh marked an inline comment as done.
Revision Contents
Diff 539562 llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
llvm/test/CodeGen/AMDGPU/fold-agpr-phis.mir
|
Class equality is usually wrong but probably happens to be OK here. ARC->IsSuperclassEq?