[PATCH] D125485: [ArgPromotion] Unify byval promotion with non-byval
Pavel Samolysov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 01:48:36 PDT 2022
psamolysov added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp:635
+ HandleEndUser(SI, SI->getValueOperand()->getType(),
+ /* GuaranteedToExecute */ true)) {
+ if (!*Res)
----------------
I'm not aware about speculative stores. Should we handle the stores in the exactly same way as loads here, so should the parameter be set to `false`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125485/new/
https://reviews.llvm.org/D125485
More information about the llvm-commits
mailing list