diff options
| author | Stephen Canon <scanon@apple.com> | 2015-09-21 19:29:25 +0000 |
|---|---|---|
| committer | Stephen Canon <scanon@apple.com> | 2015-09-21 19:29:25 +0000 |
| commit | b12db0e42ca1c0f58d740b44bdb3ec6b219291fd (patch) | |
| tree | b7df53b9e7f7fcab880e937d6dbdad3c6c0a4b6d /llvm/lib/CodeGen/SelectionDAG | |
| parent | 8055ed0c127e96cc0d008b4560ce8c6c45af8885 (diff) | |
| download | bcm5719-llvm-b12db0e42ca1c0f58d740b44bdb3ec6b219291fd.tar.gz bcm5719-llvm-b12db0e42ca1c0f58d740b44bdb3ec6b219291fd.zip | |
Remove roundingMode argument in APFloat::mod
Because mod is always exact, this function should have never taken a rounding mode argument. The actual implementation still has issues, which I'll look at resolving in a subsequent patch.
llvm-svn: 248195
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 2aec9050d97..a968e965a0d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -3738,7 +3738,7 @@ SDValue SelectionDAG::getNode(unsigned Opcode, SDLoc DL, EVT VT, SDValue N1, } break; case ISD::FREM : - s = V1.mod(V2, APFloat::rmNearestTiesToEven); + s = V1.mod(V2); if (!HasFPExceptions || (s!=APFloat::opInvalidOp && s!=APFloat::opDivByZero)) { return getConstantFP(V1, DL, VT); |

