]> granicus.if.org Git - clang/commit
[OPENMP] Scan all redeclarations looking for `declare simd` attribute.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 2 Mar 2018 18:07:00 +0000 (18:07 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 2 Mar 2018 18:07:00 +0000 (18:07 +0000)
commit12b35567426747f88bbcc4b6d47924b9061d5e45
tree7c5dc636e4e6c129b8eb90519798b53b7f9d1d94
parentb4e3f41c8b1f8c41971cf5143c56ddd7a7080552
[OPENMP] Scan all redeclarations looking for `declare simd` attribute.

Patch fixes the problem with the functions marked as `declare simd`. If
the canonical declaration does not have associated `declare simd`
construct, we may not generate required code even if other
redeclarations are marked as `declare simd`.

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