[OpenMP] Fix mangling for linear modifiers with variable stride
authorMike Rice <michael.p.rice@intel.com>
Tue, 10 May 2022 17:54:00 +0000 (10:54 -0700)
committerMike Rice <michael.p.rice@intel.com>
Tue, 10 May 2022 21:12:44 +0000 (14:12 -0700)
commit0dbaef61b56f0ef0ab0cf38ea92ffc1f35bee3ff
treeb4cb75596502e8c7b68558ce73eec8158cb71765
parenta0f3ef42b01094b3606eef43ec1d0e79433154ed
[OpenMP] Fix mangling for linear modifiers with variable stride

This adds support for variable stride with the val, uval, and ref linear
modifiers.  Previously only the no modifer type ls<argno> was supported.

  val  -> Ls<argno>
  uval -> Us<argno>
  ref  -> Rs<argno>

Differential Revision: https://reviews.llvm.org/D125330
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/declare_simd_codegen.cpp