[PATCH] D90596: [AMDGPU] Fix iterating in SIFixSGPRCopies
    Sebastian Neubauer via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Nov  2 04:56:09 PST 2020
    
    
  
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, madhur13490.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
sebastian-ne requested review of this revision.
Herald added a subscriber: wdng.
The insertion of waterfall loops splits the current basic block into
three blocks. So the basic block that we iterate over must be updated.
This failed assert(!NodePtr->isKnownSentinel()) in ilist_iterator for
divergent calls in branches before.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D90596
Files:
  llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  llvm/test/CodeGen/AMDGPU/indirect-call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90596.302245.patch
Type: text/x-patch
Size: 7306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201102/82bcb15d/attachment.bin>
    
    
More information about the llvm-commits
mailing list