[llvm] [InstCombine] Fix the correctness of missing check reassoc attribute (PR #71277)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 23:13:35 PST 2023


================
@@ -607,176 +781,9 @@ Instruction *InstCombinerImpl::visitFMul(BinaryOperator &I) {
   if (Value *V = SimplifySelectsFeedingBinaryOp(I, Op0, Op1))
     return replaceInstUsesWith(I, V);
 
-  if (I.hasAllowReassoc()) {
----------------
vfdff wrote:

Done, raise [PR71493](https://github.com/llvm/llvm-project/pull/71493) to precommit the first commit.
world you help me to check that, then I'll rebase this commit, thanks.

https://github.com/llvm/llvm-project/pull/71277


More information about the llvm-commits mailing list