Skip to content

[AMDGPU][GlobalISel] Assertion failure in constant folding in buildPtrAdd #81464

@jayfoad

Description

@jayfoad

On this test case I get:

$ llc -mtriple=amdgcn -mcpu=gfx1030 -global-isel r.ll
llc: lib/Support/APInt.cpp:198: llvm::APInt &llvm::APInt::operator+=(const llvm::APInt &): Assertion `BitWidth == RHS.BitWidth && "Bit widths must be the same"' failed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions