diff options
author | Kelvin Li <kli@ca.ibm.com> | 2023-06-08 22:57:27 -0400 |
---|---|---|
committer | Kelvin Li <kli@ca.ibm.com> | 2023-06-14 11:21:03 -0400 |
commit | 7e82379d11f6d7072fd08b3023353ee791c8fb3e (patch) | |
tree | 5d58d42a6dce0971c2a3e48cb38e4b96313ed001 /flang/tools | |
parent | 887362ddb565f7392632e75b343c5a25f321bb4d (diff) | |
download | llvm-7e82379d11f6d7072fd08b3023353ee791c8fb3e.zip llvm-7e82379d11f6d7072fd08b3023353ee791c8fb3e.tar.gz llvm-7e82379d11f6d7072fd08b3023353ee791c8fb3e.tar.bz2 |
[flang] rename PPC specific intrinsic modules (NFC)
Diffstat (limited to 'flang/tools')
-rw-r--r-- | flang/tools/f18/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/flang/tools/f18/CMakeLists.txt b/flang/tools/f18/CMakeLists.txt index 7a22bbe..39272cc 100644 --- a/flang/tools/f18/CMakeLists.txt +++ b/flang/tools/f18/CMakeLists.txt @@ -8,8 +8,8 @@ set(MODULES "__fortran_builtins" "__fortran_ieee_exceptions" "__fortran_type_info" - "__fortran_ppc_types" - "__fortran_ppc_intrinsics" + "__ppc_types" + "__ppc_intrinsics" "__cuda_builtins" "ieee_arithmetic" "ieee_exceptions" @@ -30,10 +30,10 @@ if (NOT CMAKE_CROSSCOMPILING) set(base ${FLANG_INTRINSIC_MODULES_DIR}/${filename}) if(${filename} STREQUAL "__fortran_builtins") set(depends "") - elseif(${filename} STREQUAL "__fortran_ppc_types") + elseif(${filename} STREQUAL "__ppc_types") set(depends "") - elseif(${filename} STREQUAL "__fortran_ppc_intrinsics") - set(depends ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_ppc_types.mod) + elseif(${filename} STREQUAL "__ppc_intrinsics") + set(depends ${FLANG_INTRINSIC_MODULES_DIR}/__ppc_types.mod) else() set(depends ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_builtins.mod) if(NOT ${filename} STREQUAL "__fortran_type_info") @@ -47,7 +47,7 @@ if (NOT CMAKE_CROSSCOMPILING) # The module contains PPC vector types that needs the PPC target. set(opts "") - if(${filename} STREQUAL "__fortran_ppc_intrinsics") + if(${filename} STREQUAL "__ppc_intrinsics") set(opts "--target=ppc64le") endif() |