forked from OSchip/llvm-project
AMDGPU: Fix ordering of CPU and FS parameters in TargetMachine constructors
Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D16863 llvm-svn: 259897
This commit is contained in:
parent
6da9115e53
commit
5dde1d2eb3
|
@ -124,20 +124,20 @@ AMDGPUTargetMachine::~AMDGPUTargetMachine() { }
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
R600TargetMachine::R600TargetMachine(const Target &T, const Triple &TT,
|
||||
StringRef FS, StringRef CPU,
|
||||
StringRef CPU, StringRef FS,
|
||||
TargetOptions Options, Reloc::Model RM,
|
||||
CodeModel::Model CM, CodeGenOpt::Level OL)
|
||||
: AMDGPUTargetMachine(T, TT, FS, CPU, Options, RM, CM, OL) {}
|
||||
: AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) {}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// GCN Target Machine (SI+)
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
GCNTargetMachine::GCNTargetMachine(const Target &T, const Triple &TT,
|
||||
StringRef FS, StringRef CPU,
|
||||
StringRef CPU, StringRef FS,
|
||||
TargetOptions Options, Reloc::Model RM,
|
||||
CodeModel::Model CM, CodeGenOpt::Level OL)
|
||||
: AMDGPUTargetMachine(T, TT, FS, CPU, Options, RM, CM, OL) {}
|
||||
: AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) {}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// AMDGPU Pass Setup
|
||||
|
|
|
@ -37,8 +37,8 @@ protected:
|
|||
AMDGPUIntrinsicInfo IntrinsicInfo;
|
||||
|
||||
public:
|
||||
AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef FS,
|
||||
StringRef CPU, TargetOptions Options, Reloc::Model RM,
|
||||
AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
|
||||
StringRef FS, TargetOptions Options, Reloc::Model RM,
|
||||
CodeModel::Model CM, CodeGenOpt::Level OL);
|
||||
~AMDGPUTargetMachine();
|
||||
|
||||
|
@ -63,8 +63,8 @@ public:
|
|||
class R600TargetMachine : public AMDGPUTargetMachine {
|
||||
|
||||
public:
|
||||
R600TargetMachine(const Target &T, const Triple &TT, StringRef FS,
|
||||
StringRef CPU, TargetOptions Options, Reloc::Model RM,
|
||||
R600TargetMachine(const Target &T, const Triple &TT, StringRef CPU,
|
||||
StringRef FS, TargetOptions Options, Reloc::Model RM,
|
||||
CodeModel::Model CM, CodeGenOpt::Level OL);
|
||||
|
||||
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
||||
|
@ -77,8 +77,8 @@ public:
|
|||
class GCNTargetMachine : public AMDGPUTargetMachine {
|
||||
|
||||
public:
|
||||
GCNTargetMachine(const Target &T, const Triple &TT, StringRef FS,
|
||||
StringRef CPU, TargetOptions Options, Reloc::Model RM,
|
||||
GCNTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
|
||||
StringRef FS, TargetOptions Options, Reloc::Model RM,
|
||||
CodeModel::Model CM, CodeGenOpt::Level OL);
|
||||
|
||||
TargetPassConfig *createPassConfig(PassManagerBase &PM) override;
|
||||
|
|
Loading…
Reference in New Issue