[PATCH] D158813: [analyzer] MPIChecker: MPI_Waitall should respect count arg
Ding Fei via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 25 09:42:08 PDT 2023
danix800 added inline comments.
================
Comment at: clang/test/Analysis/mpichecker.cpp:286-288
+ for (int i = 0; i < 3; ++i)
+ MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD,
+ &rs.req[i]);
----------------
steakhal wrote:
> This loop here implicitly depends on the fact that we only unroll loops 4 times.
> I'd prefer a simpler test where we don't even have a loop.
I'll unroll this loop.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158813/new/
https://reviews.llvm.org/D158813
More information about the cfe-commits
mailing list