aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2021-11-28 12:00:55 +0000
committerFlorian Hahn <flo@fhahn.com>2021-11-28 12:16:55 +0000
commit7b75110fac979be24eed0178caa9d1f8c68e14eb (patch)
tree46656a041143e9e9b1c8993d797d5bccf03b9889 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent01631ffcfca768c97e4a26c2d86af1ecb4b28b22 (diff)
downloadllvm-7b75110fac979be24eed0178caa9d1f8c68e14eb.zip
llvm-7b75110fac979be24eed0178caa9d1f8c68e14eb.tar.gz
llvm-7b75110fac979be24eed0178caa9d1f8c68e14eb.tar.bz2
[SCEV] Turn validity check in getExistingSCEV into assert (NFC).
Now that we track users of SCEV expressions, we should be able to always invalidate containing expressions. With that, I think the case where a value gets removed but SCEVs containing references to it should not be possible any longer. Turn check into an assert. This slightly reduces compile-time: NewPM-O3: -0.27% NewPM-ReleaseThinLTO: -0.21% NewPM-ReleaseLTO-g: -0.26% http://llvm-compile-time-tracker.com/compare.php?from=c3dc6b081da6ba503e67d260033f81f61eb38ea3&to=95a4a028b1f1dd0bc3d221435953b7d2c031b3d5&stat=instructions Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D114633
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions