[llvm] r320960 - [NFC][CodeGen][ExpandMemCmp] Fix documentation.

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 17 23:32:48 PST 2017


Author: courbet
Date: Sun Dec 17 23:32:48 2017
New Revision: 320960

URL: http://llvm.org/viewvc/llvm-project?rev=320960&view=rev
Log:
[NFC][CodeGen][ExpandMemCmp] Fix documentation.

Modified:
    llvm/trunk/lib/CodeGen/ExpandMemCmp.cpp

Modified: llvm/trunk/lib/CodeGen/ExpandMemCmp.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ExpandMemCmp.cpp?rev=320960&r1=320959&r2=320960&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ExpandMemCmp.cpp (original)
+++ llvm/trunk/lib/CodeGen/ExpandMemCmp.cpp Sun Dec 17 23:32:48 2017
@@ -7,9 +7,8 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This pass tries to partially inline the fast path of well-known library
-// functions, such as using square-root instructions for cases where sqrt()
-// does not need to set errno.
+// This pass tries to expand memcmp() calls into optimally-sized loads and
+// compares for the target.
 //
 //===----------------------------------------------------------------------===//
 




More information about the llvm-commits mailing list