With this change you should place optional operands in order specified by asm string:
- clamp -> omod
- offset -> glc -> slc -> tfe
Fixes for several tests.
Depends on D17568
Paths
| Differential D17644
[AMDGPU] Assembler: Check immediate types for several optional operands in predicate methods ClosedPublic Authored by SamWot on Feb 26 2016, 6:47 AM.
Details
Summary With this change you should place optional operands in order specified by asm string:
Fixes for several tests.
Diff Detail Event TimelineSamWot retitled this revision from to [AMDGPU] Assembler: Check immediate types for several optional operands in predicate methods. SamWot updated this object. SamWot added a parent revision: D17568: [TableGen] AsmMatcher: Skip optional operands in the midle of instruction if it is not present. This revision is now accepted and ready to land.Feb 29 2016, 9:39 AM
Revision Contents
Diff 49183 lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/SIInstrInfo.td
test/MC/AMDGPU/flat.s
test/MC/AMDGPU/mubuf.s
test/MC/AMDGPU/vop3.s
|