[PATCH] D52117: Generate llvm.loop.parallel_accesses instead of llvm.mem.parallel_loop_access metadata.

Hal Finkel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 3 16:55:14 PST 2018


hfinkel added inline comments.


================
Comment at: lib/CodeGen/CGLoopInfo.cpp:372
+  if (Active.size() >= 2) {
+    LoopInfo &NewFront = reverse(Active).begin()[1];
+    NewFront.addAccGroups(Front.getNestedAccGroups());
----------------
reverse(Active).begin() looks odd. Can we get the same thing by calling last()?


Repository:
  rC Clang

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

https://reviews.llvm.org/D52117





More information about the cfe-commits mailing list