[PATCH] D122777: [X86] Improve x86-partial-reduction to support abs intrinsic

Wei Xiao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 19:01:20 PDT 2022


wxiao3 created this revision.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
wxiao3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Current implementation only recognizes absolute operation implemented by
select instruction. This patch adds support for abs intrinsic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122777

Files:
  llvm/lib/Target/X86/X86PartialReduction.cpp
  llvm/test/CodeGen/X86/sad.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122777.419309.patch
Type: text/x-patch
Size: 17769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220331/a1780548/attachment.bin>


More information about the llvm-commits mailing list