[PATCH] D47559: [SelectionDAG] Expand UADDO/USUBO into ADD/SUBCARRY if legal for target

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 30 14:16:39 PDT 2018


kparzysz created this revision.
kparzysz added a reviewer: efriedma.

Additionally, this implements handling of ADD/SUBCARRY on Hexagon, utilizing the UADDO/USUBO expansion.


Repository:
  rL LLVM

https://reviews.llvm.org/D47559

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
  lib/Target/Hexagon/HexagonISelDAGToDAG.h
  lib/Target/Hexagon/HexagonISelLowering.cpp
  test/CodeGen/Hexagon/adde.ll
  test/CodeGen/Hexagon/sube.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47559.149200.patch
Type: text/x-patch
Size: 9222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180530/de8c3f61/attachment.bin>


More information about the llvm-commits mailing list