From: Sanjiv Gupta Date: Thu, 4 Jun 2009 08:52:28 +0000 (+0000) Subject: Custom lower SUB with two register operands. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3b0a4f186b697b53a3a97c68c4278aea7fec848e;p=oota-llvm.git Custom lower SUB with two register operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72861 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp index 0f83fd2353a..d9d387abf94 100644 --- a/lib/Target/PIC16/PIC16ISelLowering.cpp +++ b/lib/Target/PIC16/PIC16ISelLowering.cpp @@ -105,6 +105,7 @@ PIC16TargetLowering::PIC16TargetLowering(PIC16TargetMachine &TM) setOperationAction(ISD::ADDC, MVT::i8, Custom); setOperationAction(ISD::SUBE, MVT::i8, Custom); setOperationAction(ISD::SUBC, MVT::i8, Custom); + setOperationAction(ISD::SUB, MVT::i8, Custom); setOperationAction(ISD::ADD, MVT::i8, Custom); setOperationAction(ISD::ADD, MVT::i16, Custom);