aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-03-12 23:03:36 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-13 10:53:13 +0100
commitb2f933a6ce838a24f5e9728126c71d3ba44a99be (patch)
treeb2a3c6229c9e40074269d4714d7547225faa2e7a /llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp
parenta9b9c64fd4c8d456f11dcbd409cdd62116eb021f (diff)
downloadllvm-b2f933a6ce838a24f5e9728126c71d3ba44a99be.zip
llvm-b2f933a6ce838a24f5e9728126c71d3ba44a99be.tar.gz
llvm-b2f933a6ce838a24f5e9728126c71d3ba44a99be.tar.bz2
[MemorySSA] Don't bail on phi starting access
When calling getClobberingMemoryAccess() with MemoryLocation on a MemoryPHI starting access, the walker currently immediately bails and returns the starting access. This makes sense for the API that does not accept a location (as we wouldn't know what clobber we should be checking for), but doesn't make sense for the MemoryLocation-based API. This means that it can't look through a MemoryPHI if it's the starting access, but can if there is one more non-clobbering def in between. This patch removes the limitation. Differential Revision: https://reviews.llvm.org/D98557
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp')
0 files changed, 0 insertions, 0 deletions