[PATCH] D24492: [LTO] Switch to the new resolution-based API.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 11:06:53 PDT 2016


pcc added inline comments.

================
Comment at: lld/ELF/LTO.cpp:79
@@ +78,3 @@
+  // Set up a custom pipeline if we've been asked to.
+  if (!Config->LtoNewPmPasses.empty())
+    Conf.OptPipeline = Config->LtoNewPmPasses;
----------------
You could just assign without the if statement here and below.


https://reviews.llvm.org/D24492





More information about the llvm-commits mailing list