mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-23 04:52:54 +02:00
f2ec17e0e6
Fix build when global-isel is disabled and fix a warning. Summary: We can select constant/global G_LOAD, global G_STORE, and G_GEP. Reviewers: qcolombet, MatzeB, t.p.northover, ab, arsenm Subscribers: mehdi_amini, vkalintiris, kzhuravl, wdng, nhaehnle, mgorny, yaxunl, tony-tye, modocache, llvm-commits, dberris Differential Revision: https://reviews.llvm.org/D26730 llvm-svn: 293551
17 lines
538 B
TableGen
17 lines
538 B
TableGen
//=- AMDGPURegisterBank.td - Describe the AMDGPU Banks -------*- tablegen -*-=//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def SGPRRegBank : RegisterBank<"SGPR",
|
|
[SReg_32, SReg_64, SReg_128, SReg_256, SReg_512]
|
|
>;
|
|
|
|
def VGPRRegBank : RegisterBank<"VGPR",
|
|
[VGPR_32, VReg_64, VReg_96, VReg_128, VReg_256, VReg_512]
|
|
>;
|