[PATCH] D83595: [Draft][MSAN] Optimize away poisoning allocas that are always written before load

Gui Andrade via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 16:14:54 PDT 2020


guiand marked an inline comment as done.
guiand added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:3633
+  // overwritten anyway.
+  bool firstUsesAreConstStore(SmallPtrSet<BasicBlock *, 10> &TraversedSet,
+                              const SmallPtrSet<Value *, 10> &Users,
----------------
TODO: get rid of `Const` in this function name


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83595/new/

https://reviews.llvm.org/D83595





More information about the llvm-commits mailing list