For PAL, GFX10 s_code_end padding is now added only for a full pipeline
compilation, not a shader compilation.
Change-Id: I0d4fa364178a79c47d8e22177c424722e3c9686d
Paths
| Differential D80338
[AMDGPU] GFX10 PAL: Only pad with s_code_end in pipeline compilation AbandonedPublic Authored by tpr on May 20 2020, 4:03 PM.
Details
Diff Detail
Event Timeline
tpr added inline comments.
This revision is now accepted and ready to land.May 26 2020, 9:51 AM Comment Actions I am abandoning this, because it turns out that it is difficult to reliably detect whether we have a PAL pipeline or a PAL shader compilation. Instead, the LLPC linker will remove the padding, and then adds it back on after concatenating .text sections.
Revision Contents
Diff 265989 llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/test/CodeGen/AMDGPU/s_code_end.ll
llvm/test/CodeGen/AMDGPU/s_code_end_pal_pipeline.ll
|
Should move to predicate function