mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Remove unnecessary FP_EXTEND. This causes worse codegen for SSE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22469 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a0f5bf306c
commit
700a3c97e9
@ -403,9 +403,6 @@ void SelectionDAGLowering::visitRet(ReturnInst &I) {
|
||||
Op1 = DAG.getNode(ISD::ZERO_EXTEND, TmpVT, Op1);
|
||||
break;
|
||||
case MVT::f32:
|
||||
// Extend float to double.
|
||||
Op1 = DAG.getNode(ISD::FP_EXTEND, MVT::f64, Op1);
|
||||
break;
|
||||
case MVT::i64:
|
||||
case MVT::f64:
|
||||
break; // No extension needed!
|
||||
|
Loading…
Reference in New Issue
Block a user