[PATCH] D157423: [Coroutines][NFC]Only look for Alloca or Load when finding dbg.declare for temp spills
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 8 13:10:35 PDT 2023
MatzeB accepted this revision.
MatzeB added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1866
CurDef = LdInst->getPointerOperand();
+ if (!(isa<AllocaInst>(CurDef) || isa<LoadInst>(CurDef)))
+ break;
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157423/new/
https://reviews.llvm.org/D157423
More information about the llvm-commits
mailing list