diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-04 02:56:59 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-04 02:56:59 +0000 |
commit | 061efcfb3e79899493d857f49e50d09f29037e0a (patch) | |
tree | 2c7286ae42f7acfe928e0faff78562df968a237d /lib/Target/MBlaze | |
parent | d5422654016b3ac7494db1d2ba16bd8febadb0a8 (diff) |
TargetPassConfig: confine the MC configuration to TargetMachine.
Passes prior to instructon selection are now split into separate configurable stages.
Header dependencies are simplified.
The bulk of this diff is simply removal of the silly DisableVerify flags.
Sorry for the target header churn. Attempting to stabilize them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MBlaze')
-rw-r--r-- | lib/Target/MBlaze/MBlazeTargetMachine.cpp | 10 | ||||
-rw-r--r-- | lib/Target/MBlaze/MBlazeTargetMachine.h | 3 |
2 files changed, 5 insertions, 8 deletions
diff --git a/lib/Target/MBlaze/MBlazeTargetMachine.cpp b/lib/Target/MBlaze/MBlazeTargetMachine.cpp index aad3500ffd..5c074243dd 100644 --- a/lib/Target/MBlaze/MBlazeTargetMachine.cpp +++ b/lib/Target/MBlaze/MBlazeTargetMachine.cpp @@ -49,9 +49,8 @@ namespace { /// MBlaze Code Generator Pass Configuration Options. class MBlazePassConfig : public TargetPassConfig { public: - MBlazePassConfig(MBlazeTargetMachine *TM, PassManagerBase &PM, - bool DisableVerifyFlag) - : TargetPassConfig(TM, PM, DisableVerifyFlag) {} + MBlazePassConfig(MBlazeTargetMachine *TM, PassManagerBase &PM) + : TargetPassConfig(TM, PM) {} MBlazeTargetMachine &getMBlazeTargetMachine() const { return getTM<MBlazeTargetMachine>(); @@ -62,9 +61,8 @@ public: }; } // namespace -TargetPassConfig *MBlazeTargetMachine::createPassConfig(PassManagerBase &PM, - bool DisableVerify) { - return new MBlazePassConfig(this, PM, DisableVerify); +TargetPassConfig *MBlazeTargetMachine::createPassConfig(PassManagerBase &PM) { + return new MBlazePassConfig(this, PM); } // Install an instruction selector pass using diff --git a/lib/Target/MBlaze/MBlazeTargetMachine.h b/lib/Target/MBlaze/MBlazeTargetMachine.h index 58fcbfd671..512bcd0a31 100644 --- a/lib/Target/MBlaze/MBlazeTargetMachine.h +++ b/lib/Target/MBlaze/MBlazeTargetMachine.h @@ -79,8 +79,7 @@ namespace llvm { } // Pass Pipeline Configuration - virtual TargetPassConfig *createPassConfig(PassManagerBase &PM, - bool DisableVerify); + virtual TargetPassConfig *createPassConfig(PassManagerBase &PM); }; } // End llvm namespace |