[llvm-bugs] [Bug 32591] New: opt crashes with "-simplifycfg -lcssa -loop-unswitch": Assertion `InLCSSA && "Requested to preserve LCSSA, but it's already broken."'

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 10 05:00:38 PDT 2017


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

            Bug ID: 32591
           Summary: opt crashes with "-simplifycfg -lcssa -loop-unswitch":
                    Assertion `InLCSSA && "Requested to preserve LCSSA,
                    but it's already broken."'
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18256
  --> https://bugs.llvm.org/attachment.cgi?id=18256&action=edit
csmith generated, bugpoint reduced reproducer

opt -S -simplifycfg -lcssa -loop-unswitch red.ll

gives 

opt: ../lib/Transforms/Utils/LoopSimplify.cpp:738: bool
llvm::simplifyLoop(llvm::Loop *, llvm::DominatorTree *, llvm::LoopInfo *,
llvm::ScalarEvolution *, llvm::AssumptionCache *, bool): Assertion
`L->isRecursivelyLCSSAForm(*DT, *LI) && "Requested to preserve LCSSA, but it's
already broken."' failed.


Similar to PR31198

-- 
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/20170410/738bf2e8/attachment-0001.html>


More information about the llvm-bugs mailing list