[PATCH] D75350: [OpenMP] Allow const parameters in declare simd linear clause

Francesco Petrogalli via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 07:05:22 PST 2020


fpetrogalli added inline comments.


================
Comment at: clang/test/OpenMP/declare_simd_codegen.cpp:118
+#pragma omp declare simd notinbranch linear(i)
+double constlinear(const int i);
+
----------------
Shouldn't you check that the `_ZGV *` name is generated?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75350/new/

https://reviews.llvm.org/D75350





More information about the cfe-commits mailing list