diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-05 16:46:43 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-05 16:46:43 +0000 |
commit | 22f7d57dde5b0e2db990eed9f39b49d4d47eed1e (patch) | |
tree | 2086f9a12ef656123646d1081ce9cf7a87fe23c4 /lib/Target/PIC16/PIC16ISelLowering.cpp | |
parent | ce3c1f2a0e726832286fde44cd3b0c4be605c19c (diff) |
Fix a bug in the PIC16 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16ISelLowering.cpp')
-rw-r--r-- | lib/Target/PIC16/PIC16ISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp index 915669b727..ec9a52fba0 100644 --- a/lib/Target/PIC16/PIC16ISelLowering.cpp +++ b/lib/Target/PIC16/PIC16ISelLowering.cpp @@ -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 = |