[PATCH] D128475: Break module dependency llvm-tblgen -> LLVM_MC
Ben Langmuir via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 23 15:41:29 PDT 2022
benlangmuir created this revision.
benlangmuir added a reviewer: steven_wu.
Herald added a project: All.
benlangmuir requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The intent seems to be that tblgen depends on `LLVM_MC_TableGen` rather than on `LLVM_MC` itself. Found this while investigating a build failure in llvm-tblgen that was ultimately fixed by 148071fbae3f9a101 <https://reviews.llvm.org/rG148071fbae3f9a1015969376a75a47d433c49a13>, but it's still good to fix the dependency.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128475
Files:
llvm/include/llvm/module.modulemap
Index: llvm/include/llvm/module.modulemap
===================================================================
--- llvm/include/llvm/module.modulemap
+++ llvm/include/llvm/module.modulemap
@@ -334,6 +334,7 @@
// Used by llvm-tblgen
module LLVM_MC_TableGen {
requires cplusplus
+ module MC_DecoderOps{ header "MC/MCDecoderOps.h" export * }
module MC_LaneBitmask { header "MC/LaneBitmask.h" export * }
module MC_InstrItineraries { header "MC/MCInstrItineraries.h" export * }
module MC_Schedule { header "MC/MCSchedule.h" export * }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128475.439551.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220623/56e74872/attachment.bin>
More information about the llvm-commits
mailing list