Switched to using new custom operands design.
See https://reviews.llvm.org/D121696.
Details
Diff Detail
Event Timeline
| llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp | ||
|---|---|---|
| 24 | I think it would be neater to define and use a new isGFX8GFX9 instead of having a lambda inside this table. (And the same for the hwreg table that you pushed already.) | |
LGTM (with or without addressing my nitpicks about naming).
| llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | ||
|---|---|---|
| 1514 | Maybe it would be simpler to implement this as "isNotGFX10Plus" instead? | |
| 1528 | In AMDGPU.td there is a predicate called "isGFX10Before1030". Maybe we should use the same name in both places? I don't have a preference for which name is better. | |
clang-format: please reformat the code
- {{""}}, - {{"MSG_INTERRUPT"}, ID_INTERRUPT}, - {{"MSG_GS"}, ID_GS}, - {{"MSG_GS_DONE"}, ID_GS_DONE}, - {{"MSG_SAVEWAVE"}, ID_SAVEWAVE, - [](const MCSubtargetInfo &STI) { - return isVI(STI) || isGFX9Plus(STI); - }}, - {{"MSG_STALL_WAVE_GEN"}, ID_STALL_WAVE_GEN, isGFX9Plus}, - {{"MSG_HALT_WAVES"}, ID_HALT_WAVES, isGFX9Plus},27 diff lines are omitted. See full path.