diff options
| author | Amaury Sechet <deadalnix@gmail.com> | 2018-06-01 13:21:33 +0000 |
|---|---|---|
| committer | Amaury Sechet <deadalnix@gmail.com> | 2018-06-01 13:21:33 +0000 |
| commit | 8467411dada9e05130e5d8e5244d07749f4fa5e6 (patch) | |
| tree | bba69ff06833d71d0934942e1c9a565436437c16 /llvm/lib/Target/XCore | |
| parent | 5a3bb68e12e4315b9efd662e499cde7e15cdec04 (diff) | |
| download | bcm5719-llvm-8467411dada9e05130e5d8e5244d07749f4fa5e6.tar.gz bcm5719-llvm-8467411dada9e05130e5d8e5244d07749f4fa5e6.zip | |
Set ADDE/ADDC/SUBE/SUBC to expand by default
Summary:
They've been deprecated in favor of UADDO/ADDCARRY or USUBO/SUBCARRY for a while.
Target that uses these opcodes are changed in order to ensure their behavior doesn't change.
Reviewers: efriedma, craig.topper, dblaikie, bkramer
Subscribers: jholewinski, arsenm, jyknight, sdardis, nemanjai, nhaehnle, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, jordy.potman.lists, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, mgrang, atanasyan, llvm-commits
Differential Revision: https://reviews.llvm.org/D47422
llvm-svn: 333748
Diffstat (limited to 'llvm/lib/Target/XCore')
| -rw-r--r-- | llvm/lib/Target/XCore/XCoreISelLowering.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/XCore/XCoreISelLowering.cpp b/llvm/lib/Target/XCore/XCoreISelLowering.cpp index 0ac5ecfa7e8..99e76144cba 100644 --- a/llvm/lib/Target/XCore/XCoreISelLowering.cpp +++ b/llvm/lib/Target/XCore/XCoreISelLowering.cpp @@ -91,10 +91,6 @@ XCoreTargetLowering::XCoreTargetLowering(const TargetMachine &TM, // XCore does not have the NodeTypes below. setOperationAction(ISD::BR_CC, MVT::i32, Expand); setOperationAction(ISD::SELECT_CC, MVT::i32, Expand); - setOperationAction(ISD::ADDC, MVT::i32, Expand); - setOperationAction(ISD::ADDE, MVT::i32, Expand); - setOperationAction(ISD::SUBC, MVT::i32, Expand); - setOperationAction(ISD::SUBE, MVT::i32, Expand); // 64bit setOperationAction(ISD::ADD, MVT::i64, Custom); |

