[all-commits] [llvm/llvm-project] 724e2b: [InstCombine] Add tests for bitwise (A >> C - 1, z...

XChy via All-commits all-commits at lists.llvm.org
Mon Jul 24 04:03:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 724e2b1225cd7ef7ec1f43dcbe77c9f9f35958d2
      https://github.com/llvm/llvm-project/commit/724e2b1225cd7ef7ec1f43dcbe77c9f9f35958d2
  Author: XChy <xxs_chy at outlook.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/and-or-icmps.ll

  Log Message:
  -----------
  [InstCombine] Add tests for bitwise (A >> C - 1, zext(icmp)) -> zext (bitwise(A<0, icmp)) fold (NFC)

Tests for an upcoming bitwise (A >> C - 1, zext(icmp)) ->
zext (bitwise(A<0, icmp)) fold.

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




More information about the All-commits mailing list