[all-commits] [llvm/llvm-project] 8140d0: [OpenMP] Change OMPIRBuilder to append function at...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Mar 24 06:09:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8140d0ec4a3e0c0a2a5c496ef956686a8eaf55a5
https://github.com/llvm/llvm-project/commit/8140d0ec4a3e0c0a2a5c496ef956686a8eaf55a5
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-03-24 (Wed, 24 Mar 2021)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/test/Transforms/OpenMP/add_attributes.ll
Log Message:
-----------
[OpenMP] Change OMPIRBuilder to append function attributes
Summary:
Currently the OMPIRBuilder overwrites the function's existing attributes
when it assigns the ones defined in OMPKinds.def. This changes the
behaviour to append the current function's attributes with them instead.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D98740
More information about the All-commits
mailing list