summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-04-25 10:04:49 +0200
committerNikita Popov <npopov@redhat.com>2023-04-26 09:26:47 +0200
commit43436993f48b1d75d9d80796cb0889ce7d191888 (patch)
tree9dc98c1fd8da62ce3c0a196fb0405a7884ecc50c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentd12c471b892d2eb3087f7b1f8e13516122535966 (diff)
[LICM] Don't try to constant fold instructions
This was introduced in 030f02021b6359ec5641622cf1aa63d873ecf55a as an alleged compile-time optimization. In reality, trying to constant fold instructions is more expensive than just hoisting them. In a standard pipeline, LICM tends to run either after a run of LoopInstSimplify or InstCombine, so LICM doesn't really see constant foldable instructions in the first place, and the attempted fold is futile. This makes for a very minor compile-time improvement. Differential Revision: https://reviews.llvm.org/D149134
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions