summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-06-24 13:25:57 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-06-24 13:25:57 +0000
commit110bf6da7513b087aa5970090b62208837eef2f6 (patch)
tree7c66c0e6a9299519dba77e52c95eb86eb59ad121 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parentc871c03550a471669e82f6cc905f5a526cfc5427 (diff)
downloadbcm5719-llvm-110bf6da7513b087aa5970090b62208837eef2f6.tar.gz
bcm5719-llvm-110bf6da7513b087aa5970090b62208837eef2f6.zip
Eliminate additional redundant copies of Triple objects. NFC.
Subscribers: rafael, llvm-commits, rengolin Differential Revision: http://reviews.llvm.org/D10654 llvm-svn: 240540
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp
index 1bc89aa2271..53f3b00789c 100644
--- a/llvm/lib/CodeGen/TargetLoweringBase.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -778,7 +778,7 @@ TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) {
InsertFencesForAtomic = false;
MinimumJumpTableEntries = 4;
- InitLibcallNames(LibcallRoutineNames, Triple(TM.getTargetTriple()));
+ InitLibcallNames(LibcallRoutineNames, TM.getTargetTriple());
InitCmpLibcallCCs(CmpLibcallCCs);
InitLibcallCallingConvs(LibcallCallingConvs);
}
OpenPOWER on IntegriCloud