[PATCH] D30400: For Thumb1, lower ADDC/ADDE/SUBC/SUBE via the glueless ARMISD nodes, same as already done for ARM and Thumb2.

A. Skrobov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 09:51:46 PST 2017


tyomitch updated this revision to Diff 91182.
tyomitch added a comment.

Adding tADCS/tSBCS pseudo-instructions does indeed let
simplify the custom selection code quite a bit, but
doesn't get rid of it entirely, as the negative-immediate
operand still needs a "recursive lowering" which cannot
be specified with ISel patterns. (This is similar to how
ISD::AND needs the custom lowering into a tBIC.)

Updating D30400: For Thumb1, lower ADDC/ADDE/SUBC/SUBE via the glueless ARMISD nodes,
=====================================================================================

same as already done for ARM and Thumb2.


https://reviews.llvm.org/D30400

Files:
  lib/Target/ARM/ARMBaseInstrInfo.cpp
  lib/Target/ARM/ARMISelDAGToDAG.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMInstrThumb.td
  test/CodeGen/Thumb/long.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30400.91182.patch
Type: text/x-patch
Size: 18488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170309/32d87075/attachment.bin>


More information about the llvm-commits mailing list