[all-commits] [llvm/llvm-project] c125af: [DAGCombine] Check reassoc flags in aggressive fsu...

jsji via All-commits all-commits at lists.llvm.org
Wed Jun 23 07:00:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c125af82a5ff5dbbbcb8ebc5cde156d41e6ac281
      https://github.com/llvm/llvm-project/commit/c125af82a5ff5dbbbcb8ebc5cde156d41e6ac281
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/fpext-free.ll
    M llvm/test/CodeGen/PowerPC/fma-assoc.ll

  Log Message:
  -----------
  [DAGCombine] Check reassoc flags in aggressive fsub fusion

The is from discussion in https://reviews.llvm.org/D104247#inline-993387

The contract and reassoc flags shouldn't imply each other .

All the aggressive fsub fusion reassociate operations,
we should guard them with reassoc flag check.

Reviewed By: mcberg2017

Differential Revision: https://reviews.llvm.org/D104723




More information about the All-commits mailing list