mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 13:44:28 +00:00
Fix CodeGen/Generic/2005-10-21-longlonggtu.ll on ia64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0349bfe72
commit
3f1891ca6d
@ -530,7 +530,8 @@ IA64TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
|
||||
case MVT::f32:
|
||||
RetVal = DAG.getCopyFromReg(Chain, IA64::F8, MVT::f64, InFlag);
|
||||
Chain = RetVal.getValue(1);
|
||||
RetVal = DAG.getNode(ISD::TRUNCATE, MVT::f32, RetVal);
|
||||
RetVal = DAG.getNode(ISD::FP_ROUND, MVT::f32, RetVal,
|
||||
DAG.getIntPtrConstant(0));
|
||||
break;
|
||||
case MVT::f64:
|
||||
RetVal = DAG.getCopyFromReg(Chain, IA64::F8, MVT::f64, InFlag);
|
||||
|
Loading…
Reference in New Issue
Block a user