From 191d405aeadda0850611308d6995dd8b1d794394 Mon Sep 17 00:00:00 2001 From: Jim Lin Date: Mon, 21 Jun 2021 07:56:22 +0800 Subject: [PATCH] [IVDescriptors] Fix comment that getUnsafeAlgebraInst has been renamed to getExactFPMathInst 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 --- unittests/Analysis/IVDescriptorsTest.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/unittests/Analysis/IVDescriptorsTest.cpp b/unittests/Analysis/IVDescriptorsTest.cpp index 25c82c0056c..1f63db3ff31 100644 --- a/unittests/Analysis/IVDescriptorsTest.cpp +++ b/unittests/Analysis/IVDescriptorsTest.cpp @@ -44,9 +44,8 @@ static std::unique_ptr 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;