[PATCH] D28336: Replace addEarlyAsPossiblePasses callback with adjustPassManager
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 08:35:24 PST 2017
kparzysz added a comment.
Since this review has been accepted, and Chandler suggested this exact thing in another review, I think this review is good to go. Can you commit it?
================
Comment at: include/llvm/Target/TargetMachine.h:23
#include "llvm/Target/TargetOptions.h"
+#include "llvm/Transforms/IPO/PassManagerBuilder.h"
#include <cassert>
----------------
You don't have to include this file, since you only have references to the PassManagerBuilder class. You can add a forward declaration of PassManagerBuilder below in "namespace llvm".
Repository:
rL LLVM
https://reviews.llvm.org/D28336
More information about the llvm-commits
mailing list