fixed incorrect lowering of ISD::SUB node. SUB has only one result value.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 27 Jul 2009 02:26:06 +0000 (02:26 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Mon, 27 Jul 2009 02:26:06 +0000 (02:26 +0000)
commitbf36cafb8c3866cde3a642377f364eddd963aa66
tree7b9be8db46b4309f937b461459dd1c3e14a5ce9f
parent08b93c6a70ae59af375f205cfcffeaa3517577ab
fixed incorrect lowering of ISD::SUB node. SUB has only one result value.
It wasn't caught during tests because we never got a sub generated, (i8 was always getting promoted to int, which in turn was broken into subc/sube). Though the optimizer leaves an i8 sub now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77178 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PIC16/PIC16ISelLowering.cpp