1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

R600: Remove unused function AMDGPUSubtarget::getDefaultSize()

llvm-svn: 207654
This commit is contained in:
Tom Stellard 2014-04-30 14:20:53 +00:00
parent fdf3d359e7
commit 53186b159c
2 changed files with 0 additions and 13 deletions

View File

@ -30,9 +30,6 @@ AMDGPUSubtarget::AMDGPUSubtarget(StringRef TT, StringRef CPU, StringRef FS) :
// Default card
StringRef GPU = CPU;
Is64bit = false;
DefaultSize[0] = 64;
DefaultSize[1] = 1;
DefaultSize[2] = 1;
HasVertexCache = false;
TexVTXClauseSize = 0;
Gen = AMDGPUSubtarget::R600;
@ -108,14 +105,6 @@ bool
AMDGPUSubtarget::isTargetELF() const {
return false;
}
size_t
AMDGPUSubtarget::getDefaultSize(uint32_t dim) const {
if (dim > 2) {
return 1;
} else {
return DefaultSize[dim];
}
}
std::string
AMDGPUSubtarget::getDeviceName() const {

View File

@ -38,7 +38,6 @@ public:
};
private:
size_t DefaultSize[3];
std::string DevName;
bool Is64bit;
bool Is32on64bit;
@ -99,7 +98,6 @@ public:
// Helper functions to simplify if statements
bool isTargetELF() const;
std::string getDeviceName() const;
virtual size_t getDefaultSize(uint32_t dim) const final;
bool dumpCode() const { return DumpCode; }
bool r600ALUEncoding() const { return R600ALUInst; }