summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2017-12-18 07:32:48 +0000
committerClement Courbet <courbet@google.com>2017-12-18 07:32:48 +0000
commit6f42de3062e797e3a2e71c4c8444f0922b6a09b1 (patch)
treef814093a99dbe563b8b0f51ea35b1058a5a5769d /llvm/lib
parent7034d401f8b3f3a499e44a37f715bea5745112ea (diff)
downloadbcm5719-llvm-6f42de3062e797e3a2e71c4c8444f0922b6a09b1.tar.gz
bcm5719-llvm-6f42de3062e797e3a2e71c4c8444f0922b6a09b1.zip
[NFC][CodeGen][ExpandMemCmp] Fix documentation.
llvm-svn: 320960
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/ExpandMemCmp.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/ExpandMemCmp.cpp b/llvm/lib/CodeGen/ExpandMemCmp.cpp
index a9d3c87a0b5..09c808463a4 100644
--- a/llvm/lib/CodeGen/ExpandMemCmp.cpp
+++ b/llvm/lib/CodeGen/ExpandMemCmp.cpp
@@ -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.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud