[all-commits] [llvm/llvm-project] 581833: LICM: hoist BO assoc when (C1 op LV) op C2 (#106999)

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Wed Sep 4 03:48:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5818337765e4c74918a700a14df5f64a658c47ee
      https://github.com/llvm/llvm-project/commit/5818337765e4c74918a700a14df5f64a658c47ee
  Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LICM.cpp
    M llvm/test/Transforms/LICM/hoist-binop.ll

  Log Message:
  -----------
  LICM: hoist BO assoc when (C1 op LV) op C2 (#106999)

Extend hoistBOAssociation to handle the "(C1 op LV) op C2" case, when op
is a commutative operand.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list