[llvm-bugs] [Bug 28363] BDNZ not generated for simple loops

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 14 06:38:41 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28363

Ehsan Amiri <amehsan at ca.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #6 from Ehsan Amiri <amehsan at ca.ibm.com> ---
The problem still exists for some simple loops such as this:

      for( i = 0 ; i < n ; i++ )
      {
         a[i] += b[i] + d[i];;
      }
(all array data types float)

again SCEV is unable to compute the iteration count of the loop: (from debug
output):

Exit Count for Loop at depth 1 containing: %vector.body<header><latch><exiting>
 from block vector.body: ***COULDNOTCOMPUTE***

-- 
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/20160914/f0be1346/attachment.html>


More information about the llvm-bugs mailing list