Fixed comment for libcalls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjiv Gupta
2009-03-20 14:10:20 +00:00
parent 91520ea585
commit e9d81f0ad8

View File

@@ -191,8 +191,11 @@ MVT PIC16TargetLowering::getSetCCResultType(MVT ValType) const {
return MVT::i8;
}
/// FIXME: These three functions below should not be here if we change
/// the generic code to allow generting libcalls for I8 types as well.
/// The type legalizer framework of generating legalizer can generate libcalls
/// only when the operand/result types are illegal.
/// PIC16 needs to generate libcalls even for the legal types (i8) for some ops.
/// For example an arithmetic right shift. These functions are used to lower
/// such operations that generate libcall for legal types.
void
PIC16TargetLowering::setPIC16LibcallName(PIC16ISD::PIC16Libcall Call,