[PATCH] D89768: [Coroutine] Properly determine whether an alloca should live on the frame
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 30 00:32:46 PDT 2020
vitalybuka added inline comments.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:910-915
+ // original Alloca. They need to be recreated after CoroBegin off the frame.
+ DenseMap<Instruction *, llvm::Optional<APInt>> AliasOffetMap{};
+ SmallPtrSet<BasicBlock *, 2> UserBBs{};
+ bool MayWriteBeforeCoroBegin{false};
+
+ mutable llvm::Optional<bool> ShouldLiveOnFrame{};
----------------
not needed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89768/new/
https://reviews.llvm.org/D89768
More information about the llvm-commits
mailing list