mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 00:25:01 +00:00
Fix CodeGen/Generic/2005-10-21-longlonggtu.ll on ia64.
llvm-svn: 51634
This commit is contained in:
parent
294b436abf
commit
93047192f3
@ -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