[PATCH] D112085: [DAGCombiner] fold bit-hack form of usubsat

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 19 11:40:43 PDT 2021


spatel updated this revision to Diff 380746.
spatel marked an inline comment as done.
spatel added a comment.

Patch updated:
Allow transform for custom-lowered ops and restrict so there are no extra uses.
This exposes potential x86 improvements for custom lowering for very old SSE and AVX512 targets (or the default expansion should be changed).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112085/new/

https://reviews.llvm.org/D112085

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AMDGPU/usubsat.ll
  llvm/test/CodeGen/X86/psubus.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112085.380746.patch
Type: text/x-patch
Size: 9648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211019/6614b990/attachment.bin>


More information about the llvm-commits mailing list