[PATCH] D148023: [X86][FastISel] Handle CRC32 intrinsics

Alexis Engelke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 08:40:27 PDT 2023


aengelke created this revision.
aengelke added reviewers: RKSimon, craig.topper, pengfei.
Herald added a subscriber: hiraditya.
Herald added a project: All.
aengelke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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%.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148023

Files:
  llvm/lib/Target/X86/X86FastISel.cpp
  llvm/test/CodeGen/X86/crc32-intrinsics-fast-isel-x86_64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148023.512477.patch
Type: text/x-patch
Size: 4422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230411/531a3c44/attachment.bin>


More information about the llvm-commits mailing list