[all-commits] [llvm/llvm-project] 1261c0: [LICM] Drop nsw/nuw flags on affected instructions...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 18 11:46:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1261c02be4829984f025f258f3717277d04a8332
      https://github.com/llvm/llvm-project/commit/1261c02be4829984f025f258f3717277d04a8332
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-03-18 (Mon, 18 Mar 2024)

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

  Log Message:
  -----------
  [LICM] Drop nsw/nuw flags on affected instructions in hoistMulAddAssociation. (#85486)

Since we are introducing new multiplies earlier in the arithmetic, the
nsw/nuw flags on later instructions are no longer accurate.

Fixes #85457.



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