Skip to content

Commit 210692b

Browse files
authored
[llvm/IR] Fix module build issue following e57308b (NFC) (#94580)
This patch fixes a build issue following e57308b 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 <[email protected]> Signed-off-by: Med Ismail Bennani <[email protected]>
1 parent 92a8708 commit 210692b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/IR/IRBuilderFolder.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#define LLVM_IR_IRBUILDERFOLDER_H
1616

1717
#include "llvm/ADT/ArrayRef.h"
18+
#include "llvm/IR/GEPNoWrapFlags.h"
1819
#include "llvm/IR/InstrTypes.h"
1920
#include "llvm/IR/Instruction.h"
2021

0 commit comments

Comments
 (0)