mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Fix a bug in the PIC16 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce3c1f2a0e
commit
22f7d57dde
@ -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 =
|
||||
|
@ -1,5 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=pic16
|
||||
; XFAIL: *
|
||||
|
||||
@main.auto.c = internal global i8 0 ; <i8*> [#uses=1]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user