[all-commits] [llvm/llvm-project] 789644: [Reassociate] Use disjoint flag to convert Or to A...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Dec 6 13:48:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78964457cf1bafe57a54629fafbd081452a9e528
      https://github.com/llvm/llvm-project/commit/78964457cf1bafe57a54629fafbd081452a9e528
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reassociate.cpp
    M llvm/test/Transforms/Reassociate/add-like-or.ll

  Log Message:
  -----------
  [Reassociate] Use disjoint flag to convert Or to Add. (#72772)

We still have to keep the noCommonBitsSet call to handle multiple reassociations in one pass. We'll lose the flag on the first reassociation.




More information about the All-commits mailing list