[SimplifyLibCalls] Generalize a comment. This doesn't apply only to sqrt.
[oota-llvm.git] / lib / Transforms / Utils / SimplifyLibCalls.cpp
index 8ea632546c7d49682f6f3f740a58525c95f06f4c..144e23522c1ecd8f473b0bb22de4d64defb9a778 100644 (file)
@@ -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")