- Fixes the type of default 8-bit offset operands.
- Adds a test for optional offsets.
This is effectively an NFC.
Differential D142231
[AMDGPU][AsmParser] Refine SMRD offset definitions. kosarev on Jan 20 2023, 9:09 AM. Authored by
Details
This is effectively an NFC.
Diff Detail
Unit Tests Event TimelineComment Actions SP3 doesn't seem to allow these optional offsets and we don't have any tests for them, so this assumes they shouldn't be supported. But happy to rework to add the missing tests if we know otherwise.
Comment Actions "Forbid optional offsets" is a strange way to describe this. How about "make offset mandatory"? Does the (LLVM or SP3) assembler allow the offset to be omitted on GFX8/9? Comment Actions The patch itself looks fine, but it breaks backward compatibility with existing code. Comment Actions
Yes, it works for SMRD only, not for SMEM. Not sure about SI.
|
I assume making this operand optional or mandatory does not really affect anything, does it?