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

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 16:18:15 PDT 2020


vitalybuka added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:3656
+          // pointer somewhere. But we don't want that.
+          return Store->getPointerOperand() == &Alloca;
+        } else {
----------------
Store may write only part of alloca.
How useful (binary size) the patch as is?


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