From: Davide Italiano Date: Mon, 16 Nov 2015 16:54:28 +0000 (+0000) Subject: [SimplifyLibCalls] Generalize a comment. This doesn't apply only to sqrt. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6736b2f9fa91d008a3d8a13a9d210a5bca8c7ed0;p=oota-llvm.git [SimplifyLibCalls] Generalize a comment. This doesn't apply only to sqrt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253224 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/SimplifyLibCalls.cpp b/lib/Transforms/Utils/SimplifyLibCalls.cpp index 8ea632546c7..144e23522c1 100644 --- a/lib/Transforms/Utils/SimplifyLibCalls.cpp +++ b/lib/Transforms/Utils/SimplifyLibCalls.cpp @@ -116,8 +116,8 @@ static bool canUseUnsafeFPMath(Function *F) { // FIXME: For finer-grain optimization, we need intrinsics to have the same // fast-math flag decorations that are applied to FP instructions. For now, // we have to rely on the function-level unsafe-fp-math attribute to do this - // optimization because there's no other way to express that the sqrt can be - // reassociated. + // optimization because there's no other way to express that the call can be + // relaxed. if (F->hasFnAttribute("unsafe-fp-math")) { Attribute Attr = F->getFnAttribute("unsafe-fp-math"); if (Attr.getValueAsString() == "true")