[PATCH] D88287: [NARY-REASSOCIATE] Support reassociation of min/max
Evgeniy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 03:13:20 PST 2021
ebrevnov added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/NaryReassociate.cpp:315
+ (ResI = matchAndReassociateMinOrMax<umax_pred_ty>(I, OrigSCEV)) ||
+ (ResI = matchAndReassociateMinOrMax<smax_pred_ty>(I, OrigSCEV))) {
+ return ResI;
----------------
mkazantsev wrote:
> { } not needed
will remove before commit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88287/new/
https://reviews.llvm.org/D88287
More information about the llvm-commits
mailing list