[lld] r264772 - Replace a FIXME with a regular comment.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 12:19:03 PDT 2016
Author: ruiu
Date: Tue Mar 29 14:19:03 2016
New Revision: 264772
URL: http://llvm.org/viewvc/llvm-project?rev=264772&view=rev
Log:
Replace a FIXME with a regular comment.
Because it doesn't have to be fixed even though it is probably
better to do.
Modified:
lld/trunk/ELF/LTO.cpp
Modified: lld/trunk/ELF/LTO.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LTO.cpp?rev=264772&r1=264771&r2=264772&view=diff
==============================================================================
--- lld/trunk/ELF/LTO.cpp (original)
+++ lld/trunk/ELF/LTO.cpp Tue Mar 29 14:19:03 2016
@@ -49,7 +49,8 @@ static void saveBCFile(Module &M, String
}
// Run LTO passes.
-// FIXME: Reduce code duplication by sharing this code with the gold plugin.
+// Note that the gold plugin has a similar piece of code, so
+// it is probably better to move this code to a common place.
static void runLTOPasses(Module &M, TargetMachine &TM) {
legacy::PassManager LtoPasses;
LtoPasses.add(createTargetTransformInfoWrapperPass(TM.getTargetIRAnalysis()));
More information about the llvm-commits
mailing list