-
Notifications
You must be signed in to change notification settings - Fork 11.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AMDGPU] Assembler cannot handle v_mad_u32_u24 with relocated operand #100075
Labels
Comments
@llvm/issue-subscribers-backend-amdgpu Author: Jay Foad (jayfoad)
With this [test case](https://github.com/user-attachments/files/16345638/r.txt) 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`
|
arsenm
added a commit
that referenced
this issue
Jul 23, 2024
arsenm
added a commit
that referenced
this issue
Jul 23, 2024
arsenm
added a commit
that referenced
this issue
Jul 23, 2024
…100103) Fixes #100075 --------- Co-authored-by: Jay Foad <[email protected]>
sgundapa
pushed a commit
to sgundapa/upstream_effort
that referenced
this issue
Jul 23, 2024
…lvm#100103) Fixes llvm#100075 --------- Co-authored-by: Jay Foad <[email protected]>
yuxuanchen1997
pushed a commit
that referenced
this issue
Jul 25, 2024
…100103) Summary: Fixes #100075 --------- Co-authored-by: Jay Foad <[email protected]> Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251321
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With this test case I get:
The instruction it fails on is
v_mad_u32_u24 v0, v0, 12, g0@abs32@lo
The text was updated successfully, but these errors were encountered: