[PATCH] D122338: [OPENMP] Eliminate extra set of simd variant function attribute.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 05:47:24 PDT 2022


ABataev added inline comments.


================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:11988
         if (isa<CXXThisExpr>(E)) {
           Pos = ParamPositions[FD];
         } else {
----------------
I would also recommend to replace all `operator []` calls to something that does not modify the map, like `find`.


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

https://reviews.llvm.org/D122338



More information about the cfe-commits mailing list