[all-commits] [llvm/llvm-project] f5130a: [InstCombine] Fold (-a >> b) and/or/xor (~a >> b) ...

Maksim Kita via All-commits all-commits at lists.llvm.org
Mon Aug 21 02:50:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5130a578eb7e4c5c5b0493ca67b7c9f3571476d
      https://github.com/llvm/llvm-project/commit/f5130a578eb7e4c5c5b0493ca67b7c9f3571476d
  Author: Maksim Kita <kitaetoya at gmail.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

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

  Log Message:
  -----------
  [InstCombine] Fold (-a >> b) and/or/xor (~a >> b) into (-a and/or/xor ~a) >> b tests

Precommit tests for D157290.

Differential Revision: https://reviews.llvm.org/D157289


  Commit: 341443d731af67fbcc9418a3b5f8388a6325324e
      https://github.com/llvm/llvm-project/commit/341443d731af67fbcc9418a3b5f8388a6325324e
  Author: Maksim Kita <kitaetoya at gmail.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/binop-and-shifts.ll

  Log Message:
  -----------
  [InstCombine] Fold (-a >> b) and/or/xor (~a >> b) into (-a and/or/xor ~a) >> b

Fold (-a >> b) and/or/xor (~a >> b) into (-a and/or/xor ~a) >> b.
Depends on D157289.

Differential Revision: https://reviews.llvm.org/D157290


Compare: https://github.com/llvm/llvm-project/compare/fa1b6e6b34eb...341443d731af


More information about the All-commits mailing list