[LLVMbugs] [Bug 4934] New: -loop-unswitch: cLoopUnswitch.cpp:204: virtual bool<unnamed >::LoopUnswitch::runOnLoop(llvm::Loop*, llvm::LPPassManager&): Assertion `currentLoop->isLCSSAForm()' failed.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 9 03:03:42 PDT 2009


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

           Summary: -loop-unswitch: cLoopUnswitch.cpp:204: virtual
                    bool<unnamed>::LoopUnswitch::runOnLoop(llvm::Loop*,
                    llvm::LPPassManager&): Assertion `currentLoop-
                    >isLCSSAForm()' failed.
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: gohman at apple.com, llvmbugs at cs.uiuc.edu


Created an attachment (id=3481)
 --> (http://llvm.org/bugs/attachment.cgi?id=3481)
bugpoint-reduced-simplified.bc

With ToT I get this:

$ opt: /home/edwin/llvm-git/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:204:
virtual bool<unnamed>::LoopUnswitch::runOnLoop(llvm::Loop*,
llvm::LPPassManager&): Assertion `currentLoop->isLCSSAForm()' failed.
0   opt             0x000000000081281f
1   opt             0x00000000008144e9
2   libpthread.so.0 0x000000318de0e720
3   libc.so.6       0x000000318d231d25 gsignal + 53
4   libc.so.6       0x000000318d234de1 abort + 385
5   libc.so.6       0x000000318d22af99 __assert_fail + 233
6   opt             0x00000000005a95e7
7   opt             0x000000000068fd70
llvm::LPPassManager::runOnFunction(llvm::Function&) + 1136
8   opt             0x00000000007a371b
llvm::FPPassManager::runOnFunction(llvm::Function&) + 571
9   opt             0x00000000007a384b
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
10  opt             0x00000000007a1bfc
llvm::MPPassManager::runOnModule(llvm::Module&) + 460
11  opt             0x00000000007a3f00
llvm::PassManagerImpl::run(llvm::Module&) + 160
12  opt             0x00000000004b9363 main + 1171
13  libc.so.6       0x000000318d21e5c6 __libc_start_main + 230
14  opt             0x00000000004ae5f9
Stack dump:
0.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
1.      Running pass 'Loop Pass Manager' on function '@pnp_check_irq'
2.      Running pass 'Unswitch loops' on basic block '%while.cond.i'
Aborted


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