[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
Tue Aug 18 19:32:04 PDT 2020


vitalybuka added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:3927
+      StoredSet StoredBytes(TypeSize, false);
+      if (firstUsesAreStore(&I, InsPoint, StoredBytes))
+        return;
----------------
not sure why StoredBytes is a parameter and not just a local var in firstUsesAreStore 


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