[llvm] 210692b - [llvm/IR] Fix module build issue following e57308b063bb (NFC) (#94580)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 15:49:13 PDT 2024
Author: Med Ismail Bennani
Date: 2024-06-06T15:49:09-07:00
New Revision: 210692bcd6588ac4ae518436f55895a4520deb18
URL: https://github.com/llvm/llvm-project/commit/210692bcd6588ac4ae518436f55895a4520deb18
DIFF: https://github.com/llvm/llvm-project/commit/210692bcd6588ac4ae518436f55895a4520deb18.diff
LOG: [llvm/IR] Fix module build issue following e57308b063bb (NFC) (#94580)
This patch fixes a build issue following e57308b063bb when enabling
module build.
With that change, we failed to build the LLVM_IR module since
GEPNoWrapFlags wasn't defined prior to using it.
This patch addressed that issue by including the missing header in
`llvm/IR/IRBuilderFolder.h` which uses the `GEPNoWrapFlags` type.
This should ensure that we can always build the `LLVM_IR` module.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Added:
Modified:
llvm/include/llvm/IR/IRBuilderFolder.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/IRBuilderFolder.h b/llvm/include/llvm/IR/IRBuilderFolder.h
index 3c42eb2cf2a5a..921001c8a5d51 100644
--- a/llvm/include/llvm/IR/IRBuilderFolder.h
+++ b/llvm/include/llvm/IR/IRBuilderFolder.h
@@ -15,6 +15,7 @@
#define LLVM_IR_IRBUILDERFOLDER_H
#include "llvm/ADT/ArrayRef.h"
+#include "llvm/IR/GEPNoWrapFlags.h"
#include "llvm/IR/InstrTypes.h"
#include "llvm/IR/Instruction.h"
More information about the llvm-commits
mailing list