Skip to content

Commit 8673def

Browse files
committed
Fix modules build after MatrixBuilder patch
The addition of MatrixBuilder.h broke the modules build: ``` While building module 'LLVM_intrinsic_gen' imported from llvm-project/llvm/lib/IR/AbstractCallSite.cpp:19: While building module 'LLVM_IR' imported from llvm-project/llvm/include/llvm/IR/Argument.h:19: In file included from <module-includes>:6: llvm-project/llvm/include/llvm/IR/MatrixBuilder.h:19:10: fatal error: cyclic dependency in module 'LLVM_intrinsic_gen': LLVM_intrinsic_gen -> LLVM_IR -> LLVM_intrinsic_gen ^ While building module 'LLVM_intrinsic_gen' imported from llvm-project/llvm/lib/IR/AbstractCallSite.cpp:19: In file included from <module-includes>:1: llvm-project/llvm/include/llvm/IR/Argument.h:19:10: fatal error: could not build module 'LLVM_IR' ~~~~~~~~^~~~~~~~~~~~~~~~~ llvm-project/llvm/lib/IR/AbstractCallSite.cpp:19:10: fatal error: could not build module 'LLVM_intrinsic_gen' ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ```
1 parent a2fe17c commit 8673def

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/module.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ module LLVM_intrinsic_gen {
256256
module Analysis_PostDominators { header "Analysis/PostDominators.h" export * }
257257
module Analysis_DomTreeUpdater { header "Analysis/DomTreeUpdater.h" export * }
258258
module IR_IRBuilder { header "IR/IRBuilder.h" export * }
259+
module IR_MatrixBuilder { header "IR/MatrixBuilder.h" export * }
259260
module IR_PassManager { header "IR/PassManager.h" export * }
260261
module IR_PassManagerImpl { header "IR/PassManagerImpl.h" export * }
261262
module IR_PredIteratorCache { header "IR/PredIteratorCache.h" export * }

0 commit comments

Comments
 (0)