[all-commits] [llvm/llvm-project] 7861cb: [NARY] Don't optimize min/max if there are side us...
ebrevnov via All-commits
all-commits at lists.llvm.org
Fri Apr 30 05:02:38 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7861cb600cd6f1905df3d1055ea910a07e2c3c4f
https://github.com/llvm/llvm-project/commit/7861cb600cd6f1905df3d1055ea910a07e2c3c4f
Author: Evgeniy Brevnov <ybrevnov at azul.com>
Date: 2021-04-30 (Fri, 30 Apr 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/NaryReassociate.cpp
M llvm/test/Transforms/NaryReassociate/nary-req.ll
Log Message:
-----------
[NARY] Don't optimize min/max if there are side uses (part2)
Previous attempt to fix infinite recursion in min/max reassociation was not fully successful (D100170). Newly discovered failing case is due to not properly handled when there is a single use. It should be processed separately from 2 uses case.
Reviewed By: mkazantsev
Differential Revision: https://reviews.llvm.org/D101359
More information about the All-commits
mailing list