mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-19 15:18:14 +00:00
Fix comment. Other formatting changes. No functionality changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2207,7 +2207,7 @@ void SelectionDAGLowering::visitUIToFP(User &I) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SelectionDAGLowering::visitSIToFP(User &I){
|
void SelectionDAGLowering::visitSIToFP(User &I){
|
||||||
// UIToFP is never a no-op cast, no need to check
|
// SIToFP is never a no-op cast, no need to check
|
||||||
SDValue N = getValue(I.getOperand(0));
|
SDValue N = getValue(I.getOperand(0));
|
||||||
MVT DestVT = TLI.getValueType(I.getType());
|
MVT DestVT = TLI.getValueType(I.getType());
|
||||||
setValue(&I, DAG.getNode(ISD::SINT_TO_FP, DestVT, N));
|
setValue(&I, DAG.getNode(ISD::SINT_TO_FP, DestVT, N));
|
||||||
@@ -3079,6 +3079,7 @@ SelectionDAGLowering::visitLog2(CallInst &I) {
|
|||||||
void
|
void
|
||||||
SelectionDAGLowering::visitLog10(CallInst &I) {
|
SelectionDAGLowering::visitLog10(CallInst &I) {
|
||||||
SDValue result;
|
SDValue result;
|
||||||
|
|
||||||
if (getValue(I.getOperand(1)).getValueType() == MVT::f32 &&
|
if (getValue(I.getOperand(1)).getValueType() == MVT::f32 &&
|
||||||
LimitFloatPrecision > 0 && LimitFloatPrecision <= 18) {
|
LimitFloatPrecision > 0 && LimitFloatPrecision <= 18) {
|
||||||
SDValue Op = getValue(I.getOperand(1));
|
SDValue Op = getValue(I.getOperand(1));
|
||||||
|
Reference in New Issue
Block a user