[llvm] 21f1dca - [llvm] Fix the modules build

Jonas Devlieghere via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 08:58:42 PDT 2022


Author: Jonas Devlieghere
Date: 2022-06-30T08:58:37-07:00
New Revision: 21f1dca125bc8f0fd75993ba956cdaae3fef0719

URL: https://github.com/llvm/llvm-project/commit/21f1dca125bc8f0fd75993ba956cdaae3fef0719
DIFF: https://github.com/llvm/llvm-project/commit/21f1dca125bc8f0fd75993ba956cdaae3fef0719.diff

LOG: [llvm] Fix the modules build

Fixes error: missing '#include "llvm/IR/FMF.h"'; 'FastMathFlags' must be
defined before it is used in llvm/include/llvm/IR/NoFolder.h.

Added: 
    

Modified: 
    llvm/include/llvm/IR/NoFolder.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/NoFolder.h b/llvm/include/llvm/IR/NoFolder.h
index 183b5a466c59..8f3f1d6565c9 100644
--- a/llvm/include/llvm/IR/NoFolder.h
+++ b/llvm/include/llvm/IR/NoFolder.h
@@ -23,10 +23,11 @@
 
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/IR/Constants.h"
+#include "llvm/IR/FMF.h"
+#include "llvm/IR/IRBuilderFolder.h"
 #include "llvm/IR/InstrTypes.h"
 #include "llvm/IR/Instruction.h"
 #include "llvm/IR/Instructions.h"
-#include "llvm/IR/IRBuilderFolder.h"
 
 namespace llvm {
 


        


More information about the llvm-commits mailing list