[llvm] [GVN] Drop Clobber dependency if store may overwrite only the same value (PR #68322)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 6 02:31:09 PDT 2023


================
@@ -360,11 +360,42 @@ MemoryDependenceResults::getInvariantGroupPointerDependency(LoadInst *LI,
   return MemDepResult::getNonLocal();
 }
 
+// canSkipClobberingStore - check if SI that may alias with MemLoc can be safely
----------------
nikic wrote:

Don't repeat function name in comment.

https://github.com/llvm/llvm-project/pull/68322


More information about the llvm-commits mailing list