mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
R600: Remove unused function AMDGPUSubtarget::getDefaultSize()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207654 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55f8c07504
commit
d3f1202966
@ -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 {
|
||||
|
@ -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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user