2020-06-03 01:15:44 +08:00
|
|
|
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
|
|
|
|
|
|
set(LIBS
|
2021-10-14 03:46:18 +08:00
|
|
|
FIRBuilder
|
2021-10-05 20:01:17 +08:00
|
|
|
FIRCodeGen
|
|
|
|
FIRDialect
|
|
|
|
FIRSupport
|
2020-06-03 01:15:44 +08:00
|
|
|
${dialect_libs}
|
|
|
|
)
|
|
|
|
|
|
|
|
add_flang_unittest(FlangOptimizerTests
|
2021-10-22 00:44:47 +08:00
|
|
|
Builder/CharacterTest.cpp
|
2021-11-19 00:43:16 +08:00
|
|
|
Builder/ComplexTest.cpp
|
2021-10-14 03:46:18 +08:00
|
|
|
Builder/DoLoopHelperTest.cpp
|
2021-10-18 02:54:49 +08:00
|
|
|
Builder/FIRBuilderTest.cpp
|
2021-11-29 17:21:30 +08:00
|
|
|
Builder/Runtime/AssignTest.cpp
|
2021-12-03 21:55:35 +08:00
|
|
|
Builder/Runtime/CharacterTest.cpp
|
2021-12-03 21:49:07 +08:00
|
|
|
Builder/Runtime/DerivedTest.cpp
|
2021-12-02 17:18:38 +08:00
|
|
|
Builder/Runtime/NumericTest.cpp
|
2021-12-09 00:27:59 +08:00
|
|
|
Builder/Runtime/RaggedTest.cpp
|
2021-12-01 15:59:52 +08:00
|
|
|
Builder/Runtime/ReductionTest.cpp
|
2021-11-29 17:08:19 +08:00
|
|
|
Builder/Runtime/TransformationalTest.cpp
|
2021-02-20 03:05:41 +08:00
|
|
|
FIRContextTest.cpp
|
2020-06-03 01:15:44 +08:00
|
|
|
InternalNamesTest.cpp
|
2021-02-10 03:18:53 +08:00
|
|
|
KindMappingTest.cpp
|
2021-10-05 20:01:17 +08:00
|
|
|
RTBuilder.cpp
|
2020-06-03 01:15:44 +08:00
|
|
|
)
|
|
|
|
target_link_libraries(FlangOptimizerTests
|
|
|
|
PRIVATE
|
|
|
|
${LIBS})
|