aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-06-26 20:35:18 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-06-26 20:35:18 +0000
commit6a87e0fc6ab4f71603ccfa5b61394c1fe6f6a44d (patch)
tree6464342fd3339125c23b30c8cc05cf031c6bbc29 /clang/lib/Frontend/CompilerInvocation.cpp
parent3d12971e1c2ff0f77accb206f368c68befc3a2e6 (diff)
downloadllvm-6a87e0fc6ab4f71603ccfa5b61394c1fe6f6a44d.zip
llvm-6a87e0fc6ab4f71603ccfa5b61394c1fe6f6a44d.tar.gz
llvm-6a87e0fc6ab4f71603ccfa5b61394c1fe6f6a44d.tar.bz2
[AMDGPU] Fix Livereg computation during epilogue insertion
The LivePhysRegs calculated in order to find a scratch register in the epilogue code wrongly uses 'LiveIns'. Instead, it should use the 'Liveout' sets. For the liveness, also considering the operands of the terminator (return) instruction which is the insertion point for the scratch-exec-copy instruction. Patch by Christudasan Devadasan llvm-svn: 364470
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions