[PATCH] D92169: [Hexagon] Add HVX support for ISD::SMAX/SMIN/UMAX/UMIN instead of custom dag patterns

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 26 03:39:27 PST 2020


RKSimon created this revision.
RKSimon added a reviewer: kparzysz.
Herald added subscribers: steven.zhang, hiraditya.
Herald added a project: LLVM.
RKSimon requested review of this revision.

Followup to D92112 <https://reviews.llvm.org/D92112> now that I've learnt about hvx type splitting.

This is some necessary cleanup work for min/max ops to eventually help us move the add/sub sat patterns into DAGCombine - D91876 <https://reviews.llvm.org/D91876>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92169

Files:
  llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
  llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
  llvm/test/CodeGen/Hexagon/autohvx/minmax-128b.ll
  llvm/test/CodeGen/Hexagon/autohvx/minmax-64b.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92169.307815.patch
Type: text/x-patch
Size: 15220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201126/a0afc81e/attachment.bin>


More information about the llvm-commits mailing list