[PATCH] D44821: [NFC] OptPassGate extracted from OptBisect

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 23 09:51:50 PDT 2018


fedor.sergeev added inline comments.


================
Comment at: include/llvm/IR/OptBisect.h:19-21
+#include "llvm/Analysis/CallGraphSCCPass.h"
+#include "llvm/Analysis/LoopInfo.h"
+#include "llvm/Analysis/RegionInfo.h"
----------------
Hmm.. can we avoid adding these headers and add forward declarations of all the necessary classes, please?
(the problem of layering has been just recently discussed on llvm-dev@)


https://reviews.llvm.org/D44821





More information about the llvm-commits mailing list