[llvm] 912b3b0 - [IVDescriptors] Fix comment that getUnsafeAlgebraInst has been renamed to getExactFPMathInst
Jim Lin via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 20 16:55:01 PDT 2021
Author: Jim Lin
Date: 2021-06-21T07:56:22+08:00
New Revision: 912b3b03489b159598c751deb9eadfb9b1bd9d78
URL: https://github.com/llvm/llvm-project/commit/912b3b03489b159598c751deb9eadfb9b1bd9d78
DIFF: https://github.com/llvm/llvm-project/commit/912b3b03489b159598c751deb9eadfb9b1bd9d78.diff
LOG: [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
Added:
Modified:
llvm/unittests/Analysis/IVDescriptorsTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Analysis/IVDescriptorsTest.cpp b/llvm/unittests/Analysis/IVDescriptorsTest.cpp
index 25c82c0056ce2..1f63db3ff31cd 100644
--- a/llvm/unittests/Analysis/IVDescriptorsTest.cpp
+++ b/llvm/unittests/Analysis/IVDescriptorsTest.cpp
@@ -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;
More information about the llvm-commits
mailing list