Skip to content

Codegen loop pass tries to split critical edge to a landing pad block #11104

@llvmbot

Description

@llvmbot
Bugzilla Link 10732
Resolution WORKSFORME
Resolved on Aug 25, 2011 00:57
Version unspecified
OS Linux
Attachments testcase .ll
Reporter LLVM Bugzilla Contributor

Extended Description

The attached testcase verifies OK, but the code generator barfs on it:

$ opt -verify loops.ll -disable-output
$ llc loops.ll
llc: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:182: llvm::BasicBlock* llvm::SplitCriticalEdge(llvm::TerminatorInst*, unsigned int, llvm::Pass*, bool): Assertion `!DestBB->isLandingPad() && "Cannot split critical edge to a landing pad block!"' failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions