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)
commite334b34bfdf0a5d6c3091714bbf41b0ecb935e3a
tree69b3d6fb557559de00b13f2cea0274d85279748e
parentba4c6d1c91afc1d7dd83f3b3add69d9551f60123
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.

llvm-svn: 77178
llvm/lib/Target/PIC16/PIC16ISelLowering.cpp