summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsTargetMachine.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-06-16 15:44:21 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-06-16 15:44:21 +0000
commitc81f450f1a71c2630fbb42671111507e811c753c (patch)
treebb1feae5ef684d4d5b59ecf18e14adf68575e0f6 /llvm/lib/Target/Mips/MipsTargetMachine.cpp
parent47fd253f56045a85f1850da890a963b118114681 (diff)
downloadbcm5719-llvm-c81f450f1a71c2630fbb42671111507e811c753c.tar.gz
bcm5719-llvm-c81f450f1a71c2630fbb42671111507e811c753c.zip
Clean up redundant copies of Triple objects. NFC
Summary: Reviewers: rengolin Reviewed By: rengolin Subscribers: llvm-commits, rengolin, jholewinski Differential Revision: http://reviews.llvm.org/D10382 llvm-svn: 239823
Diffstat (limited to 'llvm/lib/Target/Mips/MipsTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/Mips/MipsTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsTargetMachine.cpp b/llvm/lib/Target/Mips/MipsTargetMachine.cpp
index 2e68a48734d..c820668befa 100644
--- a/llvm/lib/Target/Mips/MipsTargetMachine.cpp
+++ b/llvm/lib/Target/Mips/MipsTargetMachine.cpp
@@ -156,8 +156,8 @@ MipsTargetMachine::getSubtargetImpl(const Function &F) const {
// creation will depend on the TM and the code generation flags on the
// function that reside in TargetOptions.
resetTargetOptions(F);
- I = llvm::make_unique<MipsSubtarget>(Triple(TargetTriple), CPU, FS,
- isLittle, *this);
+ I = llvm::make_unique<MipsSubtarget>(TargetTriple, CPU, FS, isLittle,
+ *this);
}
return I.get();
}
OpenPOWER on IntegriCloud