[all-commits] [llvm/llvm-project] de3fa3: [InstCombine] ctpop(rot(X)) -> ctpop(X)

Dávid Bolvanský via All-commits all-commits at lists.llvm.org
Sat Apr 24 09:25:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de3fa35cdb6f5136b34716396763b15ed01d186b
      https://github.com/llvm/llvm-project/commit/de3fa35cdb6f5136b34716396763b15ed01d186b
  Author: Dávid Bolvanský <david.bolvansky at gmail.com>
  Date:   2021-04-24 (Sat, 24 Apr 2021)

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

  Log Message:
  -----------
  [InstCombine] ctpop(rot(X)) -> ctpop(X)

Proof:
https://alive2.llvm.org/ce/z/ss2zyt - rotl
https://alive2.llvm.org/ce/z/ZM7Aue - rotr

Reviewed By: nikic

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




More information about the All-commits mailing list