[PATCH] D113105: [InstCombine] Extend stacksave/restore elimination
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 3 08:20:32 PDT 2021
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:1796-1797
+ return ClassifyResult::CallWithSideEffects;
+ } else {
+ return ClassifyResult::CallWithSideEffects;
+ }
----------------
lebedev.ri wrote:
> Maybe add a comment that all non-intrinsic calls are considered to be side-effects?
Generally, an explanation how exactly "side effects" come into this would be nice. "Side effect" in LLVM is defined as memory write, unwind or divergence, none of which are really related to allocas (an alloca is not a side effect).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113105/new/
https://reviews.llvm.org/D113105
More information about the llvm-commits
mailing list