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

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 15:44:58 PDT 2020


eugenis added a comment.

In D83595#2188282 <https://reviews.llvm.org/D83595#2188282>, @guiand wrote:

> The code currently scans from the alloca, rather than from the lifetime_start. This might make only searching in single BB pretty limiting, since afaict an alloca can be detached from its lifetime region.

Oh right. That's actually pretty weak, it's very common for lifetime to start in a basic block other than entry.


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