[PATCH] D103065: [AIX][test-suite] Utilize `INT_MAX` instead of `RAND_MAX` on AIX (ocean and srad benchmarks)
Steven Wan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 16 11:06:36 PDT 2021
stevewan accepted this revision as: stevewan.
stevewan added a comment.
This revision is now accepted and ready to land.
LGTM with minor nit. Thanks.
================
Comment at: MultiSource/Benchmarks/Rodinia/srad/main.c:86
for (int j = 0; j < COLS; j++) {
+ #ifdef _AIX
+ I[i][j] = glibc_compat_rand() / (float)AIX_RAND_MAX;
----------------
nit: The indentation is slightly different from the change in the other file. Possibly run through clang-format to make sure.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103065/new/
https://reviews.llvm.org/D103065
More information about the llvm-commits
mailing list