[llvm] r207654 - R600: Remove unused function AMDGPUSubtarget::getDefaultSize()
Tom Stellard
thomas.stellard at amd.com
Wed Apr 30 07:20:53 PDT 2014
Author: tstellar
Date: Wed Apr 30 09:20:53 2014
New Revision: 207654
URL: http://llvm.org/viewvc/llvm-project?rev=207654&view=rev
Log:
R600: Remove unused function AMDGPUSubtarget::getDefaultSize()
Modified:
llvm/trunk/lib/Target/R600/AMDGPUSubtarget.cpp
llvm/trunk/lib/Target/R600/AMDGPUSubtarget.h
Modified: llvm/trunk/lib/Target/R600/AMDGPUSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUSubtarget.cpp?rev=207654&r1=207653&r2=207654&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUSubtarget.cpp Wed Apr 30 09:20:53 2014
@@ -30,9 +30,6 @@ AMDGPUSubtarget::AMDGPUSubtarget(StringR
// 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 {
Modified: llvm/trunk/lib/Target/R600/AMDGPUSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUSubtarget.h?rev=207654&r1=207653&r2=207654&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUSubtarget.h (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUSubtarget.h Wed Apr 30 09:20:53 2014
@@ -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; }
More information about the llvm-commits
mailing list