Skip to content

Assertion failed: "Cannot split critical edge from IndirectBrInst" with constant expression in PHI #11618

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 11246
Version unspecified
OS All
Attachments Testcase
CC @atrick,@fhahn

Extended Description

Testcase attached; llc crashes with:

Assertion failed: (!isa(TI) && "Cannot split critical edge from IndirectBrInst"), function SplitCriticalEdge, file /Volumes/storage/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp, line 175.

Not sure anyone is actually likely to hit this in practice, but it seems possible.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions