[llvm] r339724 - Add proper headers in CFGUpdate.h and add CFGDiff.h in the list of delayed headers for LLVM_intrinsic_gen.

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 14 13:49:19 PDT 2018


Author: asbirlea
Date: Tue Aug 14 13:49:19 2018
New Revision: 339724

URL: http://llvm.org/viewvc/llvm-project?rev=339724&view=rev
Log:
Add proper headers in CFGUpdate.h and add CFGDiff.h in the list of delayed headers for LLVM_intrinsic_gen.

Summary:
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.

Subscribers: sanjoy, jlebar, llvm-commits

Differential Revision: https://reviews.llvm.org/D50734

Modified:
    llvm/trunk/include/llvm/Support/CFGUpdate.h
    llvm/trunk/include/llvm/module.modulemap

Modified: llvm/trunk/include/llvm/Support/CFGUpdate.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/CFGUpdate.h?rev=339724&r1=339723&r2=339724&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/CFGUpdate.h (original)
+++ llvm/trunk/include/llvm/Support/CFGUpdate.h Tue Aug 14 13:49:19 2018
@@ -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 {

Modified: llvm/trunk/include/llvm/module.modulemap
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/module.modulemap?rev=339724&r1=339723&r2=339724&view=diff
==============================================================================
--- llvm/trunk/include/llvm/module.modulemap (original)
+++ llvm/trunk/include/llvm/module.modulemap Tue Aug 14 13:49:19 2018
@@ -192,6 +192,7 @@ module LLVM_intrinsic_gen {
 
   // 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 * }




More information about the llvm-commits mailing list