[obj2yaml] - Fix BB after r373315.
[llvm-complete.git] / lib / Target / AMDGPU / AMDGPURegisterBanks.td
blob2ecb186cc88f6ba8065ac2a1930d376e3619abb6
1 //=- AMDGPURegisterBank.td - Describe the AMDGPU Banks -------*- tablegen -*-=//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 def SGPRRegBank : RegisterBank<"SGPR",
10   [SReg_32, SReg_64, SReg_128, SReg_256, SReg_512]
13 def VGPRRegBank : RegisterBank<"VGPR",
14   [VGPR_32, VReg_64, VReg_96, VReg_128, VReg_256, VReg_512]
17 def SCCRegBank : RegisterBank <"SCC", [SReg_32, SCC_CLASS]>;
19 // It is helpful to distinguish conditions from ordinary SGPRs.
20 def VCCRegBank : RegisterBank <"VCC", [SReg_1]>;