[llvm] [CoroSplit] AllocaUseVisitor visits insertvalue/insertelement (PR #156788)
Weibo He via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 12 19:53:03 PDT 2025
NewSigma wrote:
> But wasn't insertvalue/insertelement also already handled by PtrUseVisitor (via its base, InstVisitor).
Hmm, I think InstVisitor is basically a no-op. We should override the definition in a derived class.
> Why do they need special handling (handleAlias) and for example ptrtoint doesn't?
If we were to use ptrtoint before coro.begin, I think it would be reasonable to apply handleAlias to it.
https://github.com/llvm/llvm-project/pull/156788
More information about the llvm-commits
mailing list