diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2018-07-23 09:42:35 +0000 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2018-07-23 09:42:35 +0000 |
commit | 592cc78dd8b1bef45b9b0495b815cb260a5dcd0e (patch) | |
tree | e8e69fbbc380cd2a8a0103b2e8b16726d6ad117e /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 1d926fb9f4a967c7d1ef7312e147933987c8cd7b (diff) | |
download | bcm5719-llvm-592cc78dd8b1bef45b9b0495b815cb260a5dcd0e.tar.gz bcm5719-llvm-592cc78dd8b1bef45b9b0495b815cb260a5dcd0e.zip |
[GVNHoist] safeToHoistLdSt allows illegal hoisting
Bug fix for PR36787. When reasoning if it's safe to hoist a load we
want to make sure that the defining memory access dominates the new
insertion point of the hoisted instruction. safeToHoistLdSt calls
firstInBB(InsertionPoint,DefiningAccess) which returns false if
InsertionPoint == DefiningAccess, and therefore it falsely thinks
it's safe to hoist.
Differential Revision: https://reviews.llvm.org/D49555
llvm-svn: 337674
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions