OSDN Git Service

[SelectionDAG] Expand ADD/SUBCARRY
authorLeonard Chan <leonardchan@google.com>
Thu, 9 May 2019 01:17:48 +0000 (01:17 +0000)
committerLeonard Chan <leonardchan@google.com>
Thu, 9 May 2019 01:17:48 +0000 (01:17 +0000)
commit0536d7759123a279a214ce31edb98c7f25c27008
tree373ff2b60e57de4697675429e110015839ff5297
parent1a2c61fd4da1162e2d0324c4f92c5ef090210483
[SelectionDAG] Expand ADD/SUBCARRY

This patch allows for expansion of ADDCARRY and SUBCARRY when the target does not support it.

Differential Revision: https://reviews.llvm.org/D61411

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360303 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/RISCV/addcarry.ll [new file with mode: 0644]