[llvm] 69b4766 - [modulemap] Fix module build after #189515 (#196106)
via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 09:39:19 PDT 2026
Author: Steven Wu
Date: 2026-05-06T16:39:14Z
New Revision: 69b4766a305490cd0f1a95ff91142f6ef162da21
URL: https://github.com/llvm/llvm-project/commit/69b4766a305490cd0f1a95ff91142f6ef162da21
DIFF: https://github.com/llvm/llvm-project/commit/69b4766a305490cd0f1a95ff91142f6ef162da21.diff
LOG: [modulemap] Fix module build after #189515 (#196106)
Mark newly added `.def` file as textual header to fix module include and
module cycle issue. Also added a missing CMake analysis_gen dependency
that might cause build failure.
Added:
Modified:
llvm/include/module.modulemap
llvm/lib/IR/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/include/module.modulemap b/llvm/include/module.modulemap
index cf3ef4b08965d..91b06b849eb3a 100644
--- a/llvm/include/module.modulemap
+++ b/llvm/include/module.modulemap
@@ -353,6 +353,8 @@ module LLVM_Transforms {
// Requires DEBUG_TYPE to be defined by including file.
exclude header "llvm/Transforms/Utils/InstructionWorklist.h"
+
+ textual header "llvm/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerIRValues.def"
}
extern module LLVM_Extern_Utils_DataTypes "module.extern.modulemap"
@@ -453,4 +455,5 @@ module LLVM_SandboxIR {
module * { export * }
textual header "llvm/SandboxIR/Values.def"
+ textual header "llvm/SandboxIR/ValuesDefFilesList.def"
}
diff --git a/llvm/lib/IR/CMakeLists.txt b/llvm/lib/IR/CMakeLists.txt
index ff362356fe65a..5511c3b33b0d7 100644
--- a/llvm/lib/IR/CMakeLists.txt
+++ b/llvm/lib/IR/CMakeLists.txt
@@ -91,6 +91,7 @@ add_llvm_component_library(LLVMCore
${LLVM_PTHREAD_LIB}
DEPENDS
+ analysis_gen
intrinsics_gen
LINK_COMPONENTS
More information about the llvm-commits
mailing list