diff options
author | Changpeng Fang <changpeng.fang@gmail.com> | 2016-03-15 17:28:44 +0000 |
---|---|---|
committer | Changpeng Fang <changpeng.fang@gmail.com> | 2016-03-15 17:28:44 +0000 |
commit | 01f606222772fb710d279b73fafda5c6fc033508 (patch) | |
tree | 6998d689baf7d99730a7c70abdbe31f6a093a973 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | c030f23b8b62838ef13577bdf5849f3e94d84a34 (diff) | |
download | llvm-01f606222772fb710d279b73fafda5c6fc033508.zip llvm-01f606222772fb710d279b73fafda5c6fc033508.tar.gz llvm-01f606222772fb710d279b73fafda5c6fc033508.tar.bz2 |
AMDGPU/SI: Implement GroupStaticSize Intrinsic for Dynamic LDS
Summary:
Static LDS size is saved in MachineFunctionInfo::LDSSize,
We define a pseudo instruction with usesCustomInserter bit set. Then, in EmitInstrWithCustomInserter,
we replace this pseudo instruction with a mov of MachineFunctionInfo::LDSSize.
Reviewers:
arsenm
tstellarAMD
Subscribers
llvm-commits, arsenm
Differential Revision:
http://reviews.llvm.org/D18064
llvm-svn: 263563
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions