Add this option for debugging and providing workaround.
By default it is off so no behavior change in backend.
Paths
| Differential D54158
AMDGPU: Add an option -disable-promote-alloca-to-lds ClosedPublic Authored by yaxunl on Nov 6 2018, 9:35 AM.
Details Summary Add this option for debugging and providing workaround. By default it is off so no behavior change in backend.
Diff Detail Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 3 others. · View Herald TranscriptNov 6 2018, 9:35 AM Comment Actions We already have a flag disable-promote-alloca-to-vector inside the pass itself. It would probably be more useful to add another corresponding one for the LDS promotion part if that's useful This revision now requires changes to proceed.Nov 6 2018, 9:46 AM yaxunl retitled this revision from AMDGPU: Add an option amdgpu-enable-promote-alloca to enable/disable alloca to AMDGPU: Add an option -disable-promote-alloca-to-lds. Comment ActionsRevised by Matt's comments. This revision is now accepted and ready to land.Nov 6 2018, 1:00 PM Closed by commit rL346267: AMDGPU: Add an option -disable-promote-alloca-to-lds (authored by yaxunl). · Explain WhyNov 6 2018, 1:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 172833 lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll
|