forked from OSchip/llvm-project
Remove the default subtarget from the Power port. It's unnecessary and harmful if used.
llvm-svn: 299726
This commit is contained in:
parent
740fe1a6eb
commit
380611addc
|
@ -218,9 +218,7 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, const Triple &TT,
|
|||
computeFSAdditions(FS, OL, TT), Options,
|
||||
getEffectiveRelocModel(TT, RM), CM, OL),
|
||||
TLOF(createTLOF(getTargetTriple())),
|
||||
TargetABI(computeTargetABI(TT, Options)),
|
||||
Subtarget(TargetTriple, CPU, computeFSAdditions(FS, OL, TT), *this) {
|
||||
|
||||
TargetABI(computeTargetABI(TT, Options)) {
|
||||
initAsmInfo();
|
||||
}
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ public:
|
|||
private:
|
||||
std::unique_ptr<TargetLoweringObjectFile> TLOF;
|
||||
PPCABI TargetABI;
|
||||
PPCSubtarget Subtarget;
|
||||
|
||||
mutable StringMap<std::unique_ptr<PPCSubtarget>> SubtargetMap;
|
||||
|
||||
|
|
Loading…
Reference in New Issue