[PATCH] D104441: [IVDescriptors] Fix comment that getUnsafeAlgebraInst has been renamed to getExactFPMathInst

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 17 01:14:04 PDT 2021


Jim created this revision.
Jim requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104441

Files:
  llvm/unittests/Analysis/IVDescriptorsTest.cpp


Index: llvm/unittests/Analysis/IVDescriptorsTest.cpp
===================================================================
--- llvm/unittests/Analysis/IVDescriptorsTest.cpp
+++ llvm/unittests/Analysis/IVDescriptorsTest.cpp
@@ -44,9 +44,8 @@
 }
 
 // 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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104441.352636.patch
Type: text/x-patch
Size: 697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210617/a522bd08/attachment.bin>


More information about the llvm-commits mailing list