[PATCH] D50734: Add proper headers in CFGUpdate.h and add CFGDiff.h in the list of delayed headers for LLVM_intrinsic_gen.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 13:47:57 PDT 2018


asbirlea created this revision.
Herald added subscribers: jlebar, sanjoy.

Fix module build after r339694.
Add headers needed in CFGUpdate.h.
Add CFGDiff.h in the list of delayed headers for LLVM_intrinsic_gen.
Up for post-commit review.


Repository:
  rL LLVM

https://reviews.llvm.org/D50734

Files:
  include/llvm/Support/CFGUpdate.h
  include/llvm/module.modulemap


Index: include/llvm/module.modulemap
===================================================================
--- include/llvm/module.modulemap
+++ include/llvm/module.modulemap
@@ -192,6 +192,7 @@
 
   // Intrinsics.h
   module IR_CFG { header "IR/CFG.h" export * }
+  module IR_CFGDiff { header "IR/CFGDiff.h" export * }
   module IR_ConstantRange { header "IR/ConstantRange.h" export * }
   module IR_Dominators { header "IR/Dominators.h" export * }
   module Analysis_PostDominators { header "Analysis/PostDominators.h" export * }
Index: include/llvm/Support/CFGUpdate.h
===================================================================
--- include/llvm/Support/CFGUpdate.h
+++ include/llvm/Support/CFGUpdate.h
@@ -15,7 +15,12 @@
 #ifndef LLVM_SUPPORT_CFGUPDATE_H
 #define LLVM_SUPPORT_CFGUPDATE_H
 
+#include "llvm/ADT/APInt.h"
+#include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/PointerIntPair.h"
+#include "llvm/Support/Compiler.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 namespace cfg {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50734.160684.patch
Type: text/x-patch
Size: 1045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180814/5710214b/attachment.bin>


More information about the llvm-commits mailing list