[all-commits] [llvm/llvm-project] 5368c1: [X86][FastISel] Handle CRC32 intrinsics

aengelke via All-commits all-commits at lists.llvm.org
Fri Apr 21 04:41:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5368c1065f0eaefc442247134ba3b2e98c97fda7
      https://github.com/llvm/llvm-project/commit/5368c1065f0eaefc442247134ba3b2e98c97fda7
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86FastISel.cpp
    A llvm/test/CodeGen/X86/crc32-intrinsics-fast-isel-x86.ll
    M llvm/test/CodeGen/X86/crc32-intrinsics-fast-isel-x86_64.ll

  Log Message:
  -----------
  [X86][FastISel] Handle CRC32 intrinsics

Some applications make heavy use of the crc32 operation (e.g., as part
of a hash function), so having a FastISel path avoids fallbacks to
SelectionDAG and improves compile times, in our case by ~1.5%.

Reviewed By: pengfei

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




More information about the All-commits mailing list