Skip to content

Assertion in Scalar Evolution when running IRCE #89959

@gbaraldi

Description

@gbaraldi

The following IR crashes with

define void @foo() { top: br label %L3 L3: ; preds = %L13, %top %value_phi = phi ptr [ null, %top ], [ %0, %L13 ] %0 = getelementptr i8, ptr %value_phi, i64 8 %.not = icmp ule ptr %value_phi, null br i1 %.not, label %L13, label %L15 L13: ; preds = %L3 br label %L3 L15: ; preds = %L3 ret void }

opt --passes=irce

https://godbolt.org/z/1sbvaT7r1

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions