summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-21 00:57:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-21 00:57:44 +0000
commit0b13cdabae1ec5d9aea6c7b06c7576ebb493cf51 (patch)
treec94b5da1d7938d7ffc3bfd5ff5ffe20c1c960edc /llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
parent45bb4afc7992d3b69d683a54d7379d8767914f6c (diff)
downloadbcm5719-llvm-0b13cdabae1ec5d9aea6c7b06c7576ebb493cf51.tar.gz
bcm5719-llvm-0b13cdabae1ec5d9aea6c7b06c7576ebb493cf51.zip
Adjust the file comment to read a little easier.
llvm-svn: 22163
Diffstat (limited to 'llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
index 5c99a025f0b..64e7477adcb 100644
--- a/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
+++ b/llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp
@@ -7,12 +7,13 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements a variety of small optimizations for calls to specific
-// well-known (e.g. runtime library) function calls. For example, a call to the
-// function "exit(3)" that occurs within the main() function can be transformed
-// into a simple "return 3" instruction. Any optimization that takes this form
-// (replace call to library function with simpler code that provides same
-// result) belongs in this file.
+// This file implements a module pass that applies a variety of small
+// optimizations for calls to specific well-known function calls (e.g. runtime
+// library functions). For example, a call to the function "exit(3)" that
+// occurs within the main() function can be transformed into a simple "return 3"
+// instruction. Any optimization that takes this form (replace call to library
+// function with simpler code that provides the same result) belongs in this
+// file.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud