]> granicus.if.org Git - llvm/commitdiff
[NFC][CodeGen][ExpandMemCmp] Fix documentation.
authorClement Courbet <courbet@google.com>
Mon, 18 Dec 2017 07:32:48 +0000 (07:32 +0000)
committerClement Courbet <courbet@google.com>
Mon, 18 Dec 2017 07:32:48 +0000 (07:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320960 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/ExpandMemCmp.cpp

index a9d3c87a0b56f75b53476aa7e23f966fe9a44f95..09c808463a41591e1560a4ee826a2ba3146a4b4b 100644 (file)
@@ -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.
 //
 //===----------------------------------------------------------------------===//