Skip to content

[AMDGPU] Backend crash from 'waitcnt overflow' #77931

Closed
@jhuber6

Description

@jhuber6

The following LLVM-IR crashes the AMDGPU backend due to a waitcnt overflow. This has just started happening in the past day or so. A reproducer can also be used here https://godbolt.org/z/d59Y7o3dz.

target triple = "amdgcn-amd-amdhsa"

declare fastcc void @bar()

define fastcc i32 @foo() #0 {
  fence acquire
  call fastcc void @bar()
  br label %1

1:
  br label %1
}

attributes #0 = { "target-cpu"="gfx1030" }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions