aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorItay Bookstein <itay.bookstein@nextsilicon.com>2021-11-03 15:08:06 +0200
committerItay Bookstein <itay.bookstein@nextsilicon.com>2021-11-10 10:41:58 +0200
commitf9059efa0d5434744b7b193545b70047ea2bbbe6 (patch)
tree06328b1333abb64946584d426b520490d720bedd /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parentfe7491d32fe777445f12bfc62f5e74dbce1c9477 (diff)
downloadllvm-f9059efa0d5434744b7b193545b70047ea2bbbe6.zip
llvm-f9059efa0d5434744b7b193545b70047ea2bbbe6.tar.gz
llvm-f9059efa0d5434744b7b193545b70047ea2bbbe6.tar.bz2
[InstCombine] Extend stacksave/restore elimination
Previously, InstCombine detected a pair of llvm.stacksave/stackrestore instructions that are adjacent modulo debug instructions in order to eliminate the llvm.stackrestore. This precludes situations where intervening instructions (e.g. loads) preclude the llvm.stacksave and llvm.stackrestore from becoming adjacent. This commit extends the logic and allows for eliminating the llvm.stackrestore when the range of instructions between them does not include any alloca or side-effect causing instructions. Signed-off-by: Itay Bookstein <itay.bookstein@nextsilicon.com> Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D113105
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions