[LLVMbugs] [Bug 9306] New: Assertion failed: (OrigPreheader && OrigLatch && "Loop not in canonical form?"), function rotateLoop, file /a/portbuild/amd64/9/builds/20110221064547.pointyhat-west/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/LoopRotation.c

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 23 11:48:15 PST 2011


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

           Summary: Assertion failed: (OrigPreheader && OrigLatch && "Loop
                    not in canonical form?"), function rotateLoop, file
                    /a/portbuild/amd64/9/builds/20110221064547.pointyhat-w
                    est/src/lib/clang/libllvmscalaropts/../../../contrib/l
                    lvm/lib/Transforms/Scalar/LoopRotation.c
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


the huge attached test case takes A LONG TIME (3 minutes here) and it ends with

Assertion failed: (OrigPreheader && OrigLatch && "Loop not in canonical
form?"), function rotateLoop, file LoopRotation.cpp, line 187.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.1 -emit-obj -disable-free -main-file-name _num.c
-mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.15
-momit-leaf-frame-pointer -resource-dir /usr/local/bin/../lib/clang/2.9 -O2
-ferror-limit 19 -fmessage-length 152 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-ci8567.o -x c _num.c
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module '_num.c'.
4.      Running pass 'Loop Pass Manager' on function '@___H__20___num'
5.      Running pass 'Rotate Loops' on basic block
'%___L226__23__23_bignum_2e__2a_'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)

I am trying to reduce smaller one but it's very slow

-- 
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