mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
The basic fneg cases are already autogen'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
937a79dbe3
commit
bead6612a5
@ -1062,10 +1062,8 @@ SDOperand PPCDAGToDAGISel::Select(SDOperand Op) {
|
||||
Val.getOperand(1), Val.getOperand(2));
|
||||
}
|
||||
}
|
||||
if (Ty == MVT::f32)
|
||||
return CurDAG->SelectNodeTo(N, PPC::FNEGS, MVT::f32, Val);
|
||||
else
|
||||
return CurDAG->SelectNodeTo(N, PPC::FNEGD, MVT::f64, Val);
|
||||
// Other cases are autogenerated.
|
||||
break;
|
||||
}
|
||||
case ISD::LOAD:
|
||||
case ISD::EXTLOAD:
|
||||
|
Loading…
Reference in New Issue
Block a user