[llvm-bugs] [Bug 33437] tryToUnrollLoop() ... Assertion `Idx >= 0 && "Invalid basic block argument!"' failed
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon Aug 28 13:30:53 PDT 2017
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=33437
Davide Italiano <davide at freebsd.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
--- Comment #4 from Davide Italiano <davide at freebsd.org> ---
Fixed by:
commit 08774d7daf8b21b0e673af169b72d5b9c23e246f
Author: davide <davide at 91177308-0d34-0410-b5e6-96231b3b80d8>
Date:   Mon Aug 28 20:29:33 2017 +0000
    [LoopUnroll] Properly update loop structure in case of successful peeling.
    When peeling kicks in, it updates the loop preheader.
    Later, a successful full unroll of the loop needs to update a PHI
    which i-th argument comes from the loop preheader, so it'd better look
    at the correct block. Fixes PR33437.
    Differential Revision:  https://reviews.llvm.org/D37153
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311922
91177308-0d34-0410-b5e6-96231b3b80d8
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170828/79633e37/attachment.html>
    
    
More information about the llvm-bugs
mailing list