[OPENMP50]Codegen support for scores in context selectors.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 3 Oct 2019 20:49:48 +0000 (20:49 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 3 Oct 2019 20:49:48 +0000 (20:49 +0000)
commit30827e4093b4701c14cfcf950a61b312ba918bbb
tree7adb2ef83a420a416c784e86a255698595ec7fc7
parent484a78835af8b523c31a4bbbe134182ba5f2807b
[OPENMP50]Codegen support for scores in context selectors.

If the context selector has associated score and several contexts
selectors matches current context, the function with the highest score
must be selected.

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