mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
Update comments and checks to match reality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130464 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
299bbb23a4
commit
6344a5f146
@ -1731,9 +1731,6 @@ bool ARMFastISel::ARMEmitLibcall(const Instruction *I, RTLIB::Libcall Call) {
|
||||
else if (!isTypeLegal(RetTy, RetVT))
|
||||
return false;
|
||||
|
||||
// For now we're using BLX etc on the assumption that we have v5t ops.
|
||||
if (!Subtarget->hasV5TOps()) return false;
|
||||
|
||||
// TODO: For now if we have long calls specified we don't handle the call.
|
||||
if (EnableARMLongCalls) return false;
|
||||
|
||||
@ -1771,7 +1768,7 @@ bool ARMFastISel::ARMEmitLibcall(const Instruction *I, RTLIB::Libcall Call) {
|
||||
if (!ProcessCallArgs(Args, ArgRegs, ArgVTs, ArgFlags, RegArgs, CC, NumBytes))
|
||||
return false;
|
||||
|
||||
// Issue the call, BLXr9 for darwin, BLX otherwise. This uses V5 ops.
|
||||
// Issue the call, BLr9 for darwin, BL otherwise.
|
||||
// TODO: Turn this into the table of arm call ops.
|
||||
MachineInstrBuilder MIB;
|
||||
unsigned CallOpc = ARMSelectCallOp(NULL);
|
||||
@ -1832,10 +1829,6 @@ bool ARMFastISel::SelectCall(const Instruction *I) {
|
||||
else if (!isTypeLegal(RetTy, RetVT))
|
||||
return false;
|
||||
|
||||
// For now we're using BLX etc on the assumption that we have v5t ops.
|
||||
// TODO: Maybe?
|
||||
if (!Subtarget->hasV5TOps()) return false;
|
||||
|
||||
// TODO: For now if we have long calls specified we don't handle the call.
|
||||
if (EnableARMLongCalls) return false;
|
||||
|
||||
@ -1887,7 +1880,7 @@ bool ARMFastISel::SelectCall(const Instruction *I) {
|
||||
if (!ProcessCallArgs(Args, ArgRegs, ArgVTs, ArgFlags, RegArgs, CC, NumBytes))
|
||||
return false;
|
||||
|
||||
// Issue the call, BLXr9 for darwin, BLX otherwise. This uses V5 ops.
|
||||
// Issue the call, BLr9 for darwin, BL otherwise.
|
||||
// TODO: Turn this into the table of arm call ops.
|
||||
MachineInstrBuilder MIB;
|
||||
unsigned CallOpc = ARMSelectCallOp(GV);
|
||||
|
Loading…
Reference in New Issue
Block a user