[all-commits] [llvm/llvm-project] 7ff5df: [LICM] Support integer mul/add in hoistFPAssociati...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Feb 12 15:00:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ff5dfbaa0c971048da0f37ec6f05f5395562c21
      https://github.com/llvm/llvm-project/commit/7ff5dfbaa0c971048da0f37ec6f05f5395562c21
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    A llvm/test/Transforms/LICM/expr-reassociate-int.ll

  Log Message:
  -----------
  [LICM] Support integer mul/add in hoistFPAssociation. (#67736)

The reassociation this is trying to repair can happen for integer types
too.

This patch adds support for integer mul/add to hoistFPAssociation. The
function has been renamed to hoistMulAddAssociation. I've used separate
statistics and limits for integer to allow tuning flexibility.




More information about the All-commits mailing list