[AMDGPU] Test codegen'ing True16 additions.
[llvm-project.git] / flang / unittests / Evaluate / CMakeLists.txt
blob4658d8d3345b5d63791ff8fb1cdbb267eee18030
1 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
2 add_library(FortranEvaluateTesting
3   testing.cpp
4   fp-testing.cpp
6 if (LLVM_LINK_LLVM_DYLIB)
7   set(llvm_libs LLVM)
8 else()
9   llvm_map_components_to_libnames(llvm_libs Support)
10 endif()
12 target_link_libraries(FortranEvaluateTesting
13   ${llvm_libs})
15 add_flang_nongtest_unittest(leading-zero-bit-count
16   FortranEvaluateTesting
19 add_flang_nongtest_unittest(bit-population-count
20   FortranEvaluateTesting
23 add_flang_nongtest_unittest(uint128
24   FortranEvaluateTesting
27 add_flang_nongtest_unittest(expression
28   FortranCommon
29   FortranEvaluateTesting
30   FortranEvaluate
31   FortranSemantics
32   FortranParser
35 add_flang_nongtest_unittest(integer
36   FortranEvaluateTesting
37   FortranEvaluate
38   FortranSemantics
41 add_flang_nongtest_unittest(intrinsics
42   FortranCommon
43   FortranEvaluateTesting
44   FortranEvaluate
45   FortranDecimal
46   FortranSemantics
47   FortranParser
48   FortranRuntime
51 add_flang_nongtest_unittest(logical
52   FortranEvaluateTesting
53   FortranEvaluate
54   FortranSemantics
57 # GCC -fno-exceptions breaks the fenv.h interfaces needed to capture
58 # IEEE exception flags (different use of the word "exception")
59 # in the actual hardware floating-point status register, so ensure that
60 # C++ exceptions are enabled for this test.
61 set(LLVM_REQUIRES_EH ON)
62 set(LLVM_REQUIRES_RTTI ON)
63 add_flang_nongtest_unittest(real
64   FortranEvaluateTesting
65   FortranEvaluate
66   FortranDecimal
67   FortranSemantics
69 llvm_update_compile_flags(real.test)
71 add_flang_nongtest_unittest(reshape
72   FortranEvaluateTesting
73   FortranSemantics
74   FortranEvaluate
75   FortranRuntime
78 add_flang_nongtest_unittest(ISO-Fortran-binding
79   FortranEvaluateTesting
80   FortranEvaluate
81   FortranSemantics
82   FortranRuntime
85 add_flang_nongtest_unittest(folding
86   FortranCommon
87   FortranEvaluateTesting
88   FortranEvaluate
89   FortranSemantics