mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Allow targets to specify the return type of libcalls that are generated for floating point comparisons, rather than hard-coding them as i32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92199 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -371,6 +371,11 @@ PIC16TargetLowering::getSetCCResultType(EVT ValType) const {
|
||||
return MVT::i8;
|
||||
}
|
||||
|
||||
MVT::SimpleValueType
|
||||
PIC16TargetLowering::getCmpLibcallReturnType() const {
|
||||
return MVT::i8;
|
||||
}
|
||||
|
||||
/// 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.
|
||||
|
Reference in New Issue
Block a user