[PATCH] D44891: [RFC][Memory Dependency Analysis] Not clobber load value by store if the store value won't change load content
Daniel Berlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 26 08:40:04 PDT 2018
dberlin added a comment.
This isn't correct in the face of atomics and volatiles, and IMHO, MemoryDependence should not be performing this optimization.
If you want, teach GVN to requery MemDep in these cases.
Repository:
rL LLVM
https://reviews.llvm.org/D44891
More information about the llvm-commits
mailing list