It's more future-proof to use isGFX10Plus from the start, on the
assumption that future architectures will be based on current
architectures.
Also make use of the existing isGFX9Plus in a few places.
Paths
| Differential D92092
[AMDGPU] Introduce and use isGFX10Plus. NFC. ClosedPublic Authored by foad on Nov 25 2020, 4:53 AM.
Details
Summary It's more future-proof to use isGFX10Plus from the start, on the Also make use of the existing isGFX9Plus in a few places.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 25 2020, 10:07 AM This revision was landed with ongoing or failed builds.Nov 26 2020, 1:02 AM Closed by commit rG4f87d30a06dd: [AMDGPU] Introduce and use isGFX10Plus. NFC. (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 307783 llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
|
is equivalent and maybe easier to understand.