[PATCH] D43177: Mark MergedLoadStoreMotion as not preserving MemDep results
Björn Steinbrink via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 03:04:11 PST 2018
dotdash created this revision.
dotdash added reviewers: davide, Gerolf.
MemDep caches results that signify that a dependence is non-local, and
there is currently no way to invalidate such cache entries.
Unfortunately, when MLSM sinks a store that can result in a non-local
dependence becoming a local one, and then MemDep gives wrong answers.
The easiest way out here is to just say that MLSM does indeed not
preserve MemDep results.
Repository:
rL LLVM
https://reviews.llvm.org/D43177
Files:
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
test/Transforms/GVN/pr36063.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43177.133822.patch
Type: text/x-patch
Size: 5317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180212/d4475e44/attachment.bin>
More information about the llvm-commits
mailing list