[llvm] [BasicAA] MemCpyOpt fix on tail stackrestore (PR #101352)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 2 13:56:37 PDT 2024
================
@@ -243,6 +243,11 @@ static bool markTails(Function &F, OptimizationRemarkEmitter *ORE) {
isa<PseudoProbeInst>(&I))
continue;
+ // Bail out intrinsic stackrestore call.
----------------
nikic wrote:
I'd add "because it can modify unescaped allocas" or so here.
https://github.com/llvm/llvm-project/pull/101352
More information about the llvm-commits
mailing list