diff options
author | Tom Stellard <[email protected]> | 2012-07-27 17:46:40 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-07-30 20:31:56 +0000 |
commit | 9c42fb6f26bb7db1bc793f5fcc922bbae6700d74 (patch) | |
tree | 3c873e8a909b3c7331ca089f8e24739f41b29e9d /src/gallium/drivers/radeon/AMDGPUSubtarget.h | |
parent | f56dfc32134d65599159f53215713bf372c51a13 (diff) |
radeon/llvm: Change the tablegen target from AMDIL to AMDGPU
Diffstat (limited to 'src/gallium/drivers/radeon/AMDGPUSubtarget.h')
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPUSubtarget.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeon/AMDGPUSubtarget.h b/src/gallium/drivers/radeon/AMDGPUSubtarget.h index 96ace88b476..09e57e52b12 100644 --- a/src/gallium/drivers/radeon/AMDGPUSubtarget.h +++ b/src/gallium/drivers/radeon/AMDGPUSubtarget.h @@ -14,6 +14,8 @@ #ifndef _AMDGPUSUBTARGET_H_ #define _AMDGPUSUBTARGET_H_ #include "AMDILSubtarget.h" +#include "llvm/ADT/StringExtras.h" +#include "llvm/ADT/StringRef.h" namespace llvm { @@ -22,13 +24,11 @@ class AMDGPUSubtarget : public AMDILSubtarget InstrItineraryData InstrItins; public: - AMDGPUSubtarget(StringRef TT, StringRef CPU, StringRef FS) : - AMDILSubtarget(TT, CPU, FS) - { - InstrItins = getInstrItineraryForCPU(CPU); - } + AMDGPUSubtarget(StringRef TT, StringRef CPU, StringRef FS); const InstrItineraryData &getInstrItineraryData() const { return InstrItins; } + virtual void ParseSubtargetFeatures(llvm::StringRef CPU, llvm::StringRef FS); + }; } // End namespace llvm |