Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions llvm/test/Transforms/StructurizeCFG/simple-structurizecfg-crash.ll
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
; RUN: opt -S -passes=structurizecfg %s -o -
; XFAIL: *

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requires asserts

; Issue tracking: https://github.com/llvm/llvm-project/issues/126534.
; FIXME: This test is expected to crash. Generate checklines after the crash is fixed.

define void @foo() {
entry:
br i1 false, label %cond.true, label %cond.false

cond.true: ; preds = %entry
br label %cond.end

cond.false: ; preds = %entry
br label %cond.end

cond.end: ; preds = %cond.false, %cond.true
ret void
}