[PATCH] D157423: [Coroutines][NFC]Only look for Alloca or Load when finding dbg.declare for temp spills
    Chuanqi Xu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Aug  8 18:30:27 PDT 2023
    
    
  
ChuanqiXu accepted this revision.
ChuanqiXu added a comment.
LGTM. Thanks.
================
Comment at: llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1866
             CurDef = LdInst->getPointerOperand();
+            if (!(isa<AllocaInst>(CurDef) || isa<LoadInst>(CurDef)))
+              break;
----------------
MatzeB wrote:
> 
nit
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