[IVDescriptors] Fix comment that getUnsafeAlgebraInst has been renamed to getExactFPM...
authorJim Lin <jim@andestech.com>
Sun, 20 Jun 2021 23:56:22 +0000 (07:56 +0800)
committerJim Lin <jim@andestech.com>
Sun, 20 Jun 2021 23:56:22 +0000 (07:56 +0800)
https://reviews.llvm.org/rG36a489d194750dc888f214240e9dec9122ca1f0e renamed the function call
in the test from getUnsafeAlgebraInst to getExactFPMathInst.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D104441

llvm/unittests/Analysis/IVDescriptorsTest.cpp

index 25c82c0..1f63db3 100644 (file)
@@ -44,9 +44,8 @@ static std::unique_ptr<Module> parseIR(LLVMContext &C, const char *IR) {
 }
 
 // This tests that IVDescriptors can obtain the induction binary operator for
-// integer induction variables. And hasUnsafeAlgebra() and
-// getUnsafeAlgebraInst() correctly return the expected behavior, i.e. no unsafe
-// algebra.
+// integer induction variables. And getExactFPMathInst() correctly return the
+// expected behavior, i.e. no FMF algebra.
 TEST(IVDescriptorsTest, LoopWithSingleLatch) {
   // Parse the module.
   LLVMContext Context;