summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2016-07-11 21:44:40 +0000
committerNicolai Haehnle <nhaehnle@gmail.com>2016-07-11 21:44:40 +0000
commitf52c3cf27251cb1e254d9829b74c538be7adfd06 (patch)
tree5003d7abdf76e5c25e6b3ad3e7c3e5eaf0197e3d /llvm/lib/CodeGen/SplitKit.cpp
parent1128db8fe1c13800ebc77206efc50d0a219b8750 (diff)
downloadbcm5719-llvm-f52c3cf27251cb1e254d9829b74c538be7adfd06.tar.gz
bcm5719-llvm-f52c3cf27251cb1e254d9829b74c538be7adfd06.zip
AMDGPU: fix local stack slot allocation bugs
Summary: The main bug fix here is using the 32-bit encoding of V_ADD_I32 in materializeFrameBaseRegister and resolveFrameIndex, so that arbitrary immediates work. The second part is that we may now require the SegmentWaveByteOffset even when there are initially no stack objects and VGPR spilling isn't enabled, for stack slots that are allocated later. This means that some bits become effectively dead and can be cleaned up. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96602 Tested-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewers: arsenm, tstellarAMD Subscribers: arsenm, llvm-commits, kzhuravl Differential Revision: http://reviews.llvm.org/D21551 llvm-svn: 275108
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud