[all-commits] [llvm/llvm-project] bfa1af: [OpenMPOpt] Improve __kmpc_alloc_shared handling
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Thu Aug 17 19:25:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bfa1afb81c7d521e87c249fb4ecfd55ebd0de01c
https://github.com/llvm/llvm-project/commit/bfa1afb81c7d521e87c249fb4ecfd55ebd0de01c
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/OpenMP/remove_globalization.ll
Log Message:
-----------
[OpenMPOpt] Improve __kmpc_alloc_shared handling
We know that __kmpc_alloc_shared is by construction matched with a
unique __kmpc_free_shared. Making the compiler aware of these facts
helps to avoid mallocs/allocas.
Fixes: https://github.com/llvm/llvm-project/issues/64551
Commit: fb0e49f230b30ffd7f4d68dd89d9cce95ec54ef9
https://github.com/llvm/llvm-project/commit/fb0e49f230b30ffd7f4d68dd89d9cce95ec54ef9
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/test/Transforms/OpenMP/add_attributes.ll
M llvm/test/Transforms/OpenMP/remove_globalization.ll
Log Message:
-----------
[OpenMP] Add `noalias` to runtime allocator functions
Compare: https://github.com/llvm/llvm-project/compare/b00b4697ae79...fb0e49f230b3
More information about the All-commits
mailing list