summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-03-29 19:19:03 +0000
committerRui Ueyama <ruiu@google.com>2016-03-29 19:19:03 +0000
commit4e62db4167a7e787640cf3f9e37c347e7970b1c8 (patch)
treed87b3aa5d0a6b10325555c94576bf9e40c447576
parent7306cd47d433ee1a7e765a0077ffed457e202507 (diff)
downloadbcm5719-llvm-4e62db4167a7e787640cf3f9e37c347e7970b1c8.tar.gz
bcm5719-llvm-4e62db4167a7e787640cf3f9e37c347e7970b1c8.zip
Replace a FIXME with a regular comment.
Because it doesn't have to be fixed even though it is probably better to do. llvm-svn: 264772
-rw-r--r--lld/ELF/LTO.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/LTO.cpp b/lld/ELF/LTO.cpp
index bce268ec4f6..191ec725fab 100644
--- a/lld/ELF/LTO.cpp
+++ b/lld/ELF/LTO.cpp
@@ -49,7 +49,8 @@ static void saveBCFile(Module &M, StringRef Suffix) {
}
// 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()));
OpenPOWER on IntegriCloud