diff options
Diffstat (limited to 'lib/Transforms/IPO/SimplifyLibCalls.cpp')
-rw-r--r-- | lib/Transforms/IPO/SimplifyLibCalls.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/Transforms/IPO/SimplifyLibCalls.cpp b/lib/Transforms/IPO/SimplifyLibCalls.cpp index 5c99a025f0..64e7477adc 100644 --- a/lib/Transforms/IPO/SimplifyLibCalls.cpp +++ b/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. // //===----------------------------------------------------------------------===// |