[all-commits] [llvm/llvm-project] 1351f7: [InstSimplify] add tests for ctpop; NFC (PR48608)

RotateRight via All-commits all-commits at lists.llvm.org
Mon Dec 28 13:08:29 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1351f719d49642f7f1254d13e90d8d3a2824dcde
      https://github.com/llvm/llvm-project/commit/1351f719d49642f7f1254d13e90d8d3a2824dcde
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-12-28 (Mon, 28 Dec 2020)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/call.ll

  Log Message:
  -----------
  [InstSimplify] add tests for ctpop; NFC (PR48608)


  Commit: 236c4524a7cd3051a150690b4f4f55f496e7e248
      https://github.com/llvm/llvm-project/commit/236c4524a7cd3051a150690b4f4f55f496e7e248
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-12-28 (Mon, 28 Dec 2020)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstCombine/ctpop.ll
    M llvm/test/Transforms/InstSimplify/call.ll

  Log Message:
  -----------
  [InstSimplify] remove ctpop of 1 (low) bit

https://llvm.org/PR48608

As noted in the test comment, we could handle a more general
case in instcombine and remove this, but I don't have evidence
that we need to do that.

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


Compare: https://github.com/llvm/llvm-project/compare/87c032f7b449...236c4524a7cd


More information about the All-commits mailing list