[llvm] 72a9e7c - [OpenMP][FIX] Do not use InaccessibleMemOrArgMemOnly for barrier and flush
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 08:20:18 PDT 2020
Author: Johannes Doerfert
Date: 2020-04-22T10:18:46-05:00
New Revision: 72a9e7c926f4e32f209e528ec407fe526da5587e
URL: https://github.com/llvm/llvm-project/commit/72a9e7c926f4e32f209e528ec407fe526da5587e
DIFF: https://github.com/llvm/llvm-project/commit/72a9e7c926f4e32f209e528ec407fe526da5587e.diff
LOG: [OpenMP][FIX] Do not use InaccessibleMemOrArgMemOnly for barrier and flush
This was reported as PR45635.
Added:
Modified:
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
Removed:
################################################################################
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def b/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
index 1a82d772d26a..7599a7c98175 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
@@ -389,24 +389,16 @@ __OMP_ATTRS_SET(SetterAttrs,
#define __OMP_RTL_ATTRS(Name, FnAttrSet, RetAttrSet, ArgAttrSets) \
OMP_RTL_ATTRS(OMPRTL_##Name, FnAttrSet, RetAttrSet, ArgAttrSets)
-__OMP_RTL_ATTRS(__kmpc_barrier,
- AttributeSet(EnumAttr(InaccessibleMemOrArgMemOnly)),
- AttributeSet(), {})
+__OMP_RTL_ATTRS(__kmpc_barrier, AttributeSet(), AttributeSet(), {})
__OMP_RTL_ATTRS(__kmpc_cancel,
AttributeSet(EnumAttr(InaccessibleMemOrArgMemOnly)),
AttributeSet(), {})
-__OMP_RTL_ATTRS(__kmpc_cancel_barrier,
- AttributeSet(EnumAttr(InaccessibleMemOrArgMemOnly)),
- AttributeSet(), {})
-__OMP_RTL_ATTRS(__kmpc_flush,
- AttributeSet(EnumAttr(InaccessibleMemOrArgMemOnly)),
- AttributeSet(), {})
+__OMP_RTL_ATTRS(__kmpc_cancel_barrier, AttributeSet(), AttributeSet(), {})
+__OMP_RTL_ATTRS(__kmpc_flush, AttributeSet(), AttributeSet(), {})
__OMP_RTL_ATTRS(__kmpc_global_thread_num, GetterAttrs, AttributeSet(), {})
__OMP_RTL_ATTRS(__kmpc_fork_call, AttributeSet(EnumAttr(NoUnwind)),
AttributeSet(), {})
-__OMP_RTL_ATTRS(__kmpc_omp_taskwait,
- AttributeSet(EnumAttr(InaccessibleMemOrArgMemOnly)),
- AttributeSet(), {})
+__OMP_RTL_ATTRS(__kmpc_omp_taskwait, AttributeSet(), AttributeSet(), {})
__OMP_RTL_ATTRS(__kmpc_omp_taskyield,
AttributeSet(EnumAttr(InaccessibleMemOrArgMemOnly)),
AttributeSet(), {})
More information about the llvm-commits
mailing list