This patch fix the re-revert D135927 (which caused a windows build failure) to re-enable parallel for/reduction. It also fix a warning caused by D137442. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D137565
This reverts commit 838389780e56f1a198a94f66ea436359466bf5ed. This broke the windows mlir buildbot: https://lab.llvm.org/buildbot/#/builders/13/builds/27934
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D135927