[all-commits] [llvm/llvm-project] 2dd520: Recommit "[LICM] Support integer mul/add in hoistF...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Feb 12 20:36:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dd52046816ac706a25d588efac77705793d8778
      https://github.com/llvm/llvm-project/commit/2dd52046816ac706a25d588efac77705793d8778
  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:
  -----------
  Recommit "[LICM] Support integer mul/add in hoistFPAssociation. (#67736)"

With a fix for build bot failure. I was accessing the type of a deleted
Instruction.

Original message:

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