[PATCH] D149563: [TRE] Do not mark alloca's as escaped if the function only writes to argmem

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 11:07:51 PDT 2023


efriedma added a comment.

I don't understand the distinction you're trying to draw for argument vs. non-argument memory.  Writing a pointer into memory passed as an argument counts as "captured" for the purpose of this analysis; it doesn't track memory, only values in registers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149563



More information about the llvm-commits mailing list