diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-06-04 08:52:28 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-06-04 08:52:28 +0000 |
commit | 3b0a4f186b697b53a3a97c68c4278aea7fec848e (patch) | |
tree | 00cf3889b7fc6cf6a8b08a418837ac568ae38f19 /lib/Target | |
parent | 6c8db3416536ef2917c186eba873fce904ad8c1d (diff) | |
download | external_llvm-3b0a4f186b697b53a3a97c68c4278aea7fec848e.zip external_llvm-3b0a4f186b697b53a3a97c68c4278aea7fec848e.tar.gz external_llvm-3b0a4f186b697b53a3a97c68c4278aea7fec848e.tar.bz2 |
Custom lower SUB with two register operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/PIC16/PIC16ISelLowering.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp index 0f83fd2..d9d387a 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); |