Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "[fir] Split FIROptimizer lib into several smaller libraries"
This reverts commit c02a8cd.
- Loading branch information
1 parent
e86d45e
commit 4755fb2
Showing
12 changed files
with
55 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,34 @@ | ||
add_subdirectory(CodeGen) | ||
add_subdirectory(Dialect) | ||
add_subdirectory(Support) | ||
add_subdirectory(Transforms) | ||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) | ||
|
||
add_flang_library(FIROptimizer | ||
Dialect/FIRAttr.cpp | ||
Dialect/FIRDialect.cpp | ||
Dialect/FIROps.cpp | ||
Dialect/FIRType.cpp | ||
|
||
Support/FIRContext.cpp | ||
Support/InternalNames.cpp | ||
Support/KindMapping.cpp | ||
|
||
CodeGen/CGOps.cpp | ||
CodeGen/PreCGRewrite.cpp | ||
|
||
Transforms/Inliner.cpp | ||
|
||
DEPENDS | ||
FIROpsIncGen | ||
FIROptCodeGenPassIncGen | ||
FIROptTransformsPassIncGen | ||
CGOpsIncGen | ||
${dialect_libs} | ||
|
||
LINK_LIBS | ||
${dialect_libs} | ||
MLIRLLVMToLLVMIRTranslation | ||
MLIRTargetLLVMIRExport | ||
|
||
LINK_COMPONENTS | ||
AsmParser | ||
AsmPrinter | ||
Remarks | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) | ||
|
||
set(LIBS | ||
FIROptimizer | ||
MLIRLLVMIR | ||
${dialect_libs} | ||
) | ||
|
||
add_flang_unittest(FlangLoweringTests | ||
RTBuilder.cpp | ||
) | ||
|
||
target_link_libraries(FlangLoweringTests | ||
PRIVATE | ||
${LIBS}) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters