[PATCH] D76965: [FunctionAttrs][Mem2Reg] Handle Alloca passed as function call operand with function attributes
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 28 16:08:21 PDT 2020
ddcc added a comment.
Hmm, yeah, undef is probably too strong. Ok, how about I replace the argument with a fresh alloca? It should still permit load/store optimizations on the original alloca, while still providing some alloca that isn't accessed.
I'm not familiar with the attributor, is that the component that infers function attributes? Isn't that somewhat orthogonal since it tags function attributes for subsequent optimizations like this one?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76965/new/
https://reviews.llvm.org/D76965
More information about the llvm-commits
mailing list