Switched to using new custom operands design.
See https://reviews.llvm.org/D121696.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
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 | ||
---|---|---|
1500 | Maybe it would be simpler to implement this as "isNotGFX10Plus" instead? | |
1518 | 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. |
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.)