llvm-project
f0be938c - [AMDGPU] Fix instruction size of LDS-DMA buffer loads (#211302)

Commit
42 days ago
[AMDGPU] Fix instruction size of LDS-DMA buffer loads (#211302) Mark i1imm_0 as OPERAND_IMMEDIATE type, so its packed 1-bit value is not mistaken for a trailing literal (same for InstFlag). Applies to the swz/IsAsync fields of buffer (MUBUF) and FLAT LDS-DMA instructions. Changes estimated size for the corresponding instructions; codegen stays untouched. Add unit test, checking encoded size is 8 bytes (was: 12). AI-assisted.
Author
Parents
Loading