[PATCH] D75893: [OpenMP] Add !range metadata to loads from omp.(ub/lb)
Stefan Stipanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 10:53:17 PDT 2020
sstefan1 added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:240
+
+ for (; I != E; ++I) {
+ Value *V = I->getUser();
----------------
`for (const Use &U : BoundVal->uses())` seems nicer.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75893/new/
https://reviews.llvm.org/D75893
More information about the llvm-commits
mailing list