aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-29 01:44:16 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-09-29 01:44:16 +0000
commite6740754f083f7d85e5a8afcc959c8d5b13b32c6 (patch)
tree6c1aff82a41ecb07f3ace675912f966aa4a68fd3 /llvm/lib/CodeGen/MachineFunction.cpp
parentae689e3498d9ad5fe9aa7d759a2f8cf9f017563c (diff)
downloadllvm-e6740754f083f7d85e5a8afcc959c8d5b13b32c6.zip
llvm-e6740754f083f7d85e5a8afcc959c8d5b13b32c6.tar.gz
llvm-e6740754f083f7d85e5a8afcc959c8d5b13b32c6.tar.bz2
AMDGPU: Partially fix control flow at -O0
Fixes to allow spilling all registers at the end of the block work with exec modifications. Don't emit s_and_saveexec_b64 for if lowering, and instead emit copies. Mark control flow mask instructions as terminators to get correct spill code placement with fast regalloc, and then have a separate optimization pass form the saveexec. This should work if SGPRs are spilled to VGPRs, but will likely fail in the case that an SGPR spills to memory and no workitem takes a divergent branch. llvm-svn: 282667
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions