[all-commits] [llvm/llvm-project] 782b98: [InstCombine] add tests for (X * -2**C) + Y; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Wed Sep 21 11:15:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 782b987f5221cb36a3fd3d3c8a2f78e6f852243b
      https://github.com/llvm/llvm-project/commit/782b987f5221cb36a3fd3d3c8a2f78e6f852243b
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/add.ll

  Log Message:
  -----------
  [InstCombine] add tests for (X * -2**C) + Y; NFC


  Commit: eecaa86314fc1145e4786b86c16a98cf3157dd1e
      https://github.com/llvm/llvm-project/commit/eecaa86314fc1145e4786b86c16a98cf3157dd1e
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  [InstCombine] add tests for multi-use sub demanded bits: NFC


  Commit: 64d309131a873c6705903b95ec7669ce7e99e439
      https://github.com/llvm/llvm-project/commit/64d309131a873c6705903b95ec7669ce7e99e439
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/sub.ll

  Log Message:
  -----------
  [InstCombine] try multi-use demanded bits fold for 'sub'

This is similar to D133788 / 73919a87e9a6, but for sub
the transform is valid only for low zeros in operand 1.

https://alive2.llvm.org/ce/z/EmRsXC


Compare: https://github.com/llvm/llvm-project/compare/fa74144c64df...64d309131a87


More information about the All-commits mailing list