diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-06-29 14:13:38 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-06-29 14:13:38 +0000 |
commit | 6989caa9319f407ab66ddda3313bb7e0b7f0180f (patch) | |
tree | d2d603ee312580541917c4d63e9ec1799092d220 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | b25a09d0f520a563ab91b8973e2fd76ed4fb7b8f (diff) | |
download | bcm5719-llvm-6989caa9319f407ab66ddda3313bb7e0b7f0180f.tar.gz bcm5719-llvm-6989caa9319f407ab66ddda3313bb7e0b7f0180f.zip |
[PowerPC] fix potential verification error on __tls_get_addr
This patch fixes a verification error with -verify-machineinstrs while expanding __tls_get_addr by not creating ADJCALLSTACKUP and ADJCALLSTACKDOWN if there is another ADJCALLSTACKUP in this basic block since nesting ADJCALLSTACKUP/ADJCALLSTACKDOWN is not allowed.
Here, ADJCALLSTACKUP and ADJCALLSTACKDOWN are created as a fence for instruction scheduling to avoid _tls_get_addr is scheduled before mflr in the prologue (https://bugs.llvm.org//show_bug.cgi?id=25839). So if another ADJCALLSTACKUP exists before _tls_get_addr, we do not need to create a new ADJCALLSTACKUP.
Differential Revision: https://reviews.llvm.org/D34347
llvm-svn: 306678
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions