diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2019-06-17 19:28:43 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2019-06-17 19:28:43 +0000 |
commit | ae4fcb97dde0def733eff66cee9f6a30247341be (patch) | |
tree | d9745cae314af76ebf18970ae0685c7afc516562 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 58c75565f319bd18c82992689fd97d7d2a86500e (diff) | |
download | llvm-ae4fcb97dde0def733eff66cee9f6a30247341be.zip llvm-ae4fcb97dde0def733eff66cee9f6a30247341be.tar.gz llvm-ae4fcb97dde0def733eff66cee9f6a30247341be.tar.bz2 |
AMDGPU/GFX10: Don't generate s_code_end padding in the asm-printer
Summary:
The purpose of the padding is to guard against stale code being
fetched into the instruction cache by the lowest level prefetching.
We're generating relocatable ELF here, and so the padding should
arguably be added by the linker. This is in fact what Mesa does.
This also fixes multi-part shaders for Mesa.
Change-Id: I6bfede58f20e9f337762ccf39ef9e0e263e69e82
Reviewers: arsenm, rampitec, t-tye
Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63427
llvm-svn: 363602
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions