X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTransforms%2FUtils%2FSimplifyLibCalls.cpp;h=763e3c05a9daeb6a91c536421800838292e9587c;hp=a830c9784b9601c08e6fa37ce56c122799fbb8c8;hb=c315a08fee1f92099d0a320231a97836060cf90f;hpb=ec601bafc2207204ece2dc46836e24e681dbc1a7 diff --git a/lib/Transforms/Utils/SimplifyLibCalls.cpp b/lib/Transforms/Utils/SimplifyLibCalls.cpp index a830c9784b9..763e3c05a9d 100644 --- a/lib/Transforms/Utils/SimplifyLibCalls.cpp +++ b/lib/Transforms/Utils/SimplifyLibCalls.cpp @@ -1242,7 +1242,7 @@ Value *LibCallSimplifier::optimizeFMinFMax(CallInst *CI, IRBuilder<> &B) { return nullptr; // No-signed-zeros is implied by the definitions of fmax/fmin themselves: // "Ideally, fmax would be sensitive to the sign of zero, for example - // fmax(−0. 0, +0. 0) would return +0; however, implementation in software + // fmax(-0. 0, +0. 0) would return +0; however, implementation in software // might be impractical." FMF.setNoSignedZeros(); FMF.setNoNaNs();