]> granicus.if.org Git - clang/commit
[OPENMP] Codegen `declare simd` for function declarations.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 15 Dec 2017 16:28:31 +0000 (16:28 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 15 Dec 2017 16:28:31 +0000 (16:28 +0000)
commita29eb97db38c5cc56c1f8d5bc168f1b51c4824fa
tree67da161e5e7c43aa5edd0521ca3c67e13afcfab5
parent05461699ec4181ed767f312b61807eb883446be9
[OPENMP] Codegen `declare simd` for function declarations.

Previously the attributes were emitted only for function definitions.
Patch adds emission of the attributes for function declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320826 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenModule.cpp
test/OpenMP/declare_simd_codegen.cpp