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: unassignedb...@nondot.org
          Reporter: mikael.hol...@ericsson.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to