aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-10-01 21:05:35 +0000
committerEric Christopher <echristo@gmail.com>2014-10-01 21:05:35 +0000
commiteb6e3bbf470e7fe137f34326d76f08fac798a454 (patch)
treefafe2a5cac028c70a0fbaf3a0d7588005305154e /llvm/lib/Target/PowerPC/PPCSubtarget.cpp
parentb21e033b2ab9fd446dad829e6831e782a4168ba6 (diff)
downloadllvm-eb6e3bbf470e7fe137f34326d76f08fac798a454.zip
llvm-eb6e3bbf470e7fe137f34326d76f08fac798a454.tar.gz
llvm-eb6e3bbf470e7fe137f34326d76f08fac798a454.tar.bz2
Now that the optimization level is adjusting the feature string
before we hit the subtarget, remove the constructor parameter. llvm-svn: 218817
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index 3ed81b4..d59d62a 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -74,13 +74,12 @@ PPCSubtarget &PPCSubtarget::initializeSubtargetDependencies(StringRef CPU,
}
PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
- const std::string &FS, PPCTargetMachine &TM,
- CodeGenOpt::Level OptLevel)
+ const std::string &FS, PPCTargetMachine &TM)
: PPCGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT),
DL(getDataLayoutString(TargetTriple)),
IsPPC64(TargetTriple.getArch() == Triple::ppc64 ||
TargetTriple.getArch() == Triple::ppc64le),
- OptLevel(OptLevel), TargetABI(PPC_ABI_UNKNOWN),
+ TargetABI(PPC_ABI_UNKNOWN),
FrameLowering(initializeSubtargetDependencies(CPU, FS)), InstrInfo(*this),
TLInfo(TM), TSInfo(&DL) {}