[all-commits] [llvm/llvm-project] 04697a: [InstCombine] Add test for displaced shift fold wi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 7 06:00:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04697aa18af83d9826b2f5949aa1b76c9f723da7
      https://github.com/llvm/llvm-project/commit/04697aa18af83d9826b2f5949aa1b76c9f723da7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/binop-of-displaced-shifts.ll

  Log Message:
  -----------
  [InstCombine] Add test for displaced shift fold with or disjoint (NFC)


  Commit: 6e8b17d8213e131ea49030672175c4c1a97f49e1
      https://github.com/llvm/llvm-project/commit/6e8b17d8213e131ea49030672175c4c1a97f49e1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/binop-of-displaced-shifts.ll

  Log Message:
  -----------
  [InstCombine] Support or disjoint in displaced shift fold

When I originally added this fold, it did not actually fix my
motivation case, where the add was represented as an or. Now that
we have the disjoint flag this can finally be cleanly supported.


Compare: https://github.com/llvm/llvm-project/compare/e825cc4eba5f...6e8b17d8213e


More information about the All-commits mailing list