[LLVMbugs] [Bug 20100] New: Emitting remark when failing to unroll a loop with the unroll pragma specified

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 22 13:33:37 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20100

            Bug ID: 20100
           Summary: Emitting remark when failing to unroll a loop with the
                    unroll pragma specified
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: meheff at google.com
          Reporter: wujingyue at gmail.com
                CC: eliben at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12693
  --> http://llvm.org/bugs/attachment.cgi?id=12693&action=edit
example where LLVM fails to unroll a loop with the unroll pragma

If the compiler fails to unroll a loop with the unroll pragma, the compiler can
emit remark instead of silently missing the unrolling. 

In the attached example, the programmer specifies the unroll pragma and expects
the loop to be unrolled because it has a constant bound. But for some reason,
LoopUnrollPass fails to unroll it.

-- 
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/20140622/f856a145/attachment.html>


More information about the llvm-bugs mailing list