[all-commits] [llvm/llvm-project] b1e694: [InstCombine] add tests for bitreverse of i1; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Mon Jan 9 09:31:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1e69476189385e7a9d6207aa355de326cde4a13
      https://github.com/llvm/llvm-project/commit/b1e69476189385e7a9d6207aa355de326cde4a13
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

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

  Log Message:
  -----------
  [InstCombine] add tests for bitreverse of i1; NFC


  Commit: 0eedc9e56712938ce4c01e14ba755dbdb2a0df18
      https://github.com/llvm/llvm-project/commit/0eedc9e56712938ce4c01e14ba755dbdb2a0df18
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/bitreverse.ll

  Log Message:
  -----------
  [InstCombine] bitrev (zext i1 X) --> select X, SMinC, 0

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

This breaks the infinite combine loop for issue #59897,
but we may still need more changes to avoid those loops.


Compare: https://github.com/llvm/llvm-project/compare/64f06dda87cf...0eedc9e56712


More information about the All-commits mailing list