[OPENMP50]Fix scoring of contexts with and without user provided scores.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 9 Oct 2019 20:54:06 +0000 (20:54 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 9 Oct 2019 20:54:06 +0000 (20:54 +0000)
commitadc38dcf5ff066ca5c445af023c6e75e32757bd9
tree5dc3b11b4f2d3b3f7c3a426456d63601782b97d8
parentff5a7c4ca6eadb5fd776a01b0e16800effcc8cfc
[OPENMP50]Fix scoring of contexts with and without user provided scores.

The context selector with user provided score must have higher score
than the context selector without user provided score.

llvm-svn: 374224
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/declare_variant_implementation_vendor_codegen.cpp