summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1b266c)
raw | patch | inline | side by side (parent: b1b266c)
author | Eric Christopher <echristo@gmail.com> | |
Wed, 1 Oct 2014 21:05:35 +0000 (21:05 +0000) | ||
committer | Eric Christopher <echristo@gmail.com> | |
Wed, 1 Oct 2014 21:05:35 +0000 (21:05 +0000) |
before we hit the subtarget, remove the constructor parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218817 91177308-0d34-0410-b5e6-96231b3b80d8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218817 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCSubtarget.cpp | patch | blob | history | |
lib/Target/PowerPC/PPCSubtarget.h | patch | blob | history | |
lib/Target/PowerPC/PPCTargetMachine.cpp | patch | blob | history |
index 3ed81b4bdcb6f4ec1da4c7afa8c39391045489ba..d59d62a403f86e7b497871b78cf7e5a97626acc5 100644 (file)
}
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) {}
index fd233d0ce7d87ae10c717628afbc9c853dd232e0..adf5aa15521befa40f80f047bbff0b61e1f23f08 100644 (file)
bool HasLazyResolverStubs;
bool IsLittleEndian;
- /// OptLevel - What default optimization level we're emitting code for.
- CodeGenOpt::Level OptLevel;
-
enum {
PPC_ABI_UNKNOWN,
PPC_ABI_ELFv1,
/// of the specified triple.
///
PPCSubtarget(const std::string &TT, const std::string &CPU,
- const std::string &FS, PPCTargetMachine &TM,
- CodeGenOpt::Level OptLevel);
+ const std::string &FS, PPCTargetMachine &TM);
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.
index 908e15991fe2ba35188bcd592f223a90d221d48f..6645734fba716e77295e1e0255b4a2e27bcfb59c 100644 (file)
CodeGenOpt::Level OL)
: LLVMTargetMachine(T, TT, CPU, computeFSAdditions(FS, OL, TT), Options, RM,
CM, OL),
- Subtarget(TT, CPU, TargetFS, *this, OL) {
+ Subtarget(TT, CPU, TargetFS, *this) {
initAsmInfo();
}