[Openmp-commits] [openmp] 5d9cb20 - [OpenMP] Run the Attributor as part of the device runtime optimization
Johannes Doerfert via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 23 22:47:59 PST 2023
Author: Johannes Doerfert
Date: 2023-01-23T22:45:47-08:00
New Revision: 5d9cb20f40306eecfde3752b59b9d79744626a01
URL: https://github.com/llvm/llvm-project/commit/5d9cb20f40306eecfde3752b59b9d79744626a01
DIFF: https://github.com/llvm/llvm-project/commit/5d9cb20f40306eecfde3752b59b9d79744626a01.diff
LOG: [OpenMP] Run the Attributor as part of the device runtime optimization
This will help us propagate assumptions to call sites, among other
things.
Added:
Modified:
openmp/libomptarget/DeviceRTL/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
index 872dcb4a4f657..49b398c9f7659 100644
--- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -114,7 +114,7 @@ set(src_files
)
set(clang_opt_flags -O3 -mllvm -openmp-opt-disable -DSHARED_SCRATCHPAD_SIZE=512)
-set(link_opt_flags -O3 -openmp-opt-disable)
+set(link_opt_flags -O3 -openmp-opt-disable -attributor-enable=module)
set(link_export_flag -passes=internalize -internalize-public-api-file=${source_directory}/exports)
set(link_extract_flag --func='__keep_alive' --delete)
More information about the Openmp-commits
mailing list