[PATCH] D92476: [OpenMPIRBuilder] introduce createStaticWorkshareLoop

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 11:09:24 PST 2020


Meinersbur added inline comments.


================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:1076
+        continue;
+    U->set(UpdatedIV);
+  }
----------------
Did you consider using `replaceAllUsesWith`? `setTripCount` should already have removed the instances ub cond and latch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92476



More information about the llvm-commits mailing list