v_accvgpr_write may only use VGPRs and inline constants as src0.
This change disables use of special SGPR registers like scc, vccz, execz, etc.
See bug 45414.
Paths
| Differential D80530
[AMDGPU][MC][GFX908] Corrected src0 of v_accvgpr_write to accept only VGPRs and inline constants. ClosedPublic Authored by dp on May 25 2020, 12:01 PM.
Details Summary v_accvgpr_write may only use VGPRs and inline constants as src0. See bug 45414.
Diff Detail Event Timelinedp added inline comments.
This revision is now accepted and ready to land.May 26 2020, 10:57 AM Closed by commit rGf47e27e260e3: [AMDGPU][MC][GFX908] Corrected src0 of v_accvgpr_write to accept only VGPRs and… (authored by dp). · Explain WhyMay 28 2020, 5:24 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 266265 llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/test/MC/AMDGPU/mai.s
|
Can you rename it to validateMAIAccWrite? This is not a load.