aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-01-13 10:07:33 +0100
committerNikita Popov <npopov@redhat.com>2022-01-19 11:32:10 +0100
commitd56b0ad441a34ae6c353c823969397b451f053a6 (patch)
treee74c383c38fbaaf47503c61bb95885d9f30a5aa8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parenta115bbea9b0c4c27841b2f6fbb8f25c17b2647a9 (diff)
downloadllvm-d56b0ad441a34ae6c353c823969397b451f053a6.zip
llvm-d56b0ad441a34ae6c353c823969397b451f053a6.tar.gz
llvm-d56b0ad441a34ae6c353c823969397b451f053a6.tar.bz2
[ConstantHoist] Remove check for notional overindexing
ConstantHoist currently only hoists GEPs if there is no notional overindexing. As this transform only hoists address arithmetic, it shouldn't care about whether any overindexing occurs or not. There is one caveat: If the hoisted base GEP is inbounds, and a later non-inbounds GEP is rewritten in terms of it, the value may be incorrectly poisoned. To avoid this, restrict the transform to inbounds GEPs for now, as the notional overindexing check effectively did that as well. The inbounds restriction could be dropped by dropping inbounds from the base GEP expression. Differential Revision: https://reviews.llvm.org/D117201
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions