1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix a bug in the PIC16 backend.

llvm-svn: 78211
This commit is contained in:
Dan Gohman 2009-08-05 16:46:43 +00:00
parent 9013115518
commit dda3c89020
2 changed files with 1 additions and 2 deletions

View File

@ -403,7 +403,7 @@ PIC16TargetLowering::MakePIC16Libcall(PIC16ISD::PIC16Libcall Call,
Entry.isZExt = !isSigned;
Args.push_back(Entry);
}
SDValue Callee = DAG.getExternalSymbol(getPIC16LibcallName(Call), MVT::i8);
SDValue Callee = DAG.getExternalSymbol(getPIC16LibcallName(Call), MVT::i16);
const Type *RetTy = RetVT.getTypeForMVT();
std::pair<SDValue,SDValue> CallInfo =

View File

@ -1,5 +1,4 @@
; RUN: llvm-as < %s | llc -march=pic16
; XFAIL: *
@main.auto.c = internal global i8 0 ; <i8*> [#uses=1]