[PATCH] D45299: API to update MemorySSA for cloned blocks.

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 23:23:21 PDT 2018


dberlin added inline comments.


================
Comment at: include/llvm/Analysis/MemorySSA.h:780
+  MemoryUseOrDef *createNewAccess(Instruction *, bool IsKnownDef = false,
+                                  bool IsKnownUse = false);
   MemoryAccess *findDominatingDef(BasicBlock *, enum InsertionPlace);
----------------
I don't understand the desire here, since it already should correctly identify whether it is a def or use on it's own.
What are you trying to do?


Repository:
  rL LLVM

https://reviews.llvm.org/D45299





More information about the llvm-commits mailing list