[LLVMbugs] [Bug 14167] New: runtime loop unrolling asserts when SE TripMultiple == 0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 23 22:22:16 PDT 2012


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

             Bug #: 14167
           Summary: runtime loop unrolling asserts when SE TripMultiple ==
                    0
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: hfinkel at anl.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9410
  --> http://llvm.org/bugs/attachment.cgi?id=9410
bugpoint reduced test case

running opt -loop-unroll -unroll-runtime on the attached testcase (bugpoint
reduced) triggers an assert inside llvm::UnrollLoop:

lib/Transforms/Utils/LoopUnroll.cpp:193: bool llvm::UnrollLoop(llvm::Loop*,
unsigned int, unsigned int, bool, unsigned int, llvm::LoopInfo*,
llvm::LPPassManager*): Assertion `TripMultiple > 0' failed.

Given that the trip multiple comes from SE, the problem may lie there. This
problem showed up in testing the new loop vectorizer, but looking at the
reduced test case, the problem does not seem to have anything to do with the
vectorization itself.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list