summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-07-18 16:44:56 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-07-18 16:44:56 +0000
commit1cc47f8413b38f075bbc7a1e0e38ead00700efdf (patch)
tree8ad86186d4c581218cf8c44e8a8368c01c4f77cb /llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
parent9962faed2b3019dd97676127f2e71a2cc3d7c26e (diff)
downloadbcm5719-llvm-1cc47f8413b38f075bbc7a1e0e38ead00700efdf.tar.gz
bcm5719-llvm-1cc47f8413b38f075bbc7a1e0e38ead00700efdf.zip
AMDGPU: Figure out private memory regs after lowering
Introduce pseudo-registers for registers needed for stack access, which are replaced during finalizeLowering. Note these pseudo-registers are currently only used for the used register location, and not for determining their input argument register. This is better because it avoids the need to try to predict whether a call will be emitted from the IR, and also detects stack objects introduced by legalization. Test changes are from the HasStackObjects check being more accurate since stack objects introduced during legalization are now known. llvm-svn: 308325
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud