[all-commits] [llvm/llvm-project] eac59f: Add tests for ctpop(X) where X is a power of 2; NFC

goldsteinn via All-commits all-commits at lists.llvm.org
Thu Jan 19 11:29:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eac59fa04ea4e0e4ce70ae47d53384a300a0f989
      https://github.com/llvm/llvm-project/commit/eac59fa04ea4e0e4ce70ae47d53384a300a0f989
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    A llvm/test/Transforms/InstSimplify/ctpop-pow2.ll

  Log Message:
  -----------
  Add tests for ctpop(X) where X is a power of 2; NFC

Reviewed By: spatel

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


  Commit: 78f29acae6dc159660753ac91faefa390e2bad93
      https://github.com/llvm/llvm-project/commit/78f29acae6dc159660753ac91faefa390e2bad93
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

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

  Log Message:
  -----------
  Add transform ctpop(X) -> 1 iff X is non-zero power of 2

Definitionally a non-zero power of 2 will only have 1 bit set so this
is a freebee.

Reviewed By: spatel

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


  Commit: 1d67f2cd7850a9a6c6ac4d31959163e1c412c687
      https://github.com/llvm/llvm-project/commit/1d67f2cd7850a9a6c6ac4d31959163e1c412c687
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86.td

  Log Message:
  -----------
  Removing 'TuningSlow3OpsLEA' from ICL config

According to https://uops.info/ ICL and newer have fast 3-term LEA.

Reviewed By: pengfei

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


Compare: https://github.com/llvm/llvm-project/compare/399b8ee7edf1...1d67f2cd7850


More information about the All-commits mailing list