Skip to content

[AMDGPU] Assembler cannot handle v_mad_u32_u24 with relocated operand #100075

Closed
@jayfoad

Description

@jayfoad

With this test case I get:

$ llc -mtriple=amdgcn -mcpu=gfx1100 r.txt -o - | llvm-mc -triple=amdgcn -mcpu=gfx1100
	.text
	.section	.AMDGPU.config,"",@progbits
	.long	47176
	.long	1613692928
	.long	47180
	.long	0
	.long	47200
	.long	0
	.long	4
	.long	0
	.long	8
	.long	0
	.text
	.globl	f
	.p2align	8
	.type	f,@function
f:
	v_dual_mov_b32 v1, 0 :: v_dual_and_b32 v0, 1, v0
	s_delay_alu instid0(VALU_DEP_1)
unhandled operand type
UNREACHABLE executed at /home/jayfoad2/git/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp:8655!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.

The instruction it fails on is v_mad_u32_u24 v0, v0, 12, g0@abs32@lo

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions