File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 222
222
< li > The -globalopt pass now promotes non-address-taken static globals that are
223
223
only accessed in main to SSA registers.</ li >
224
224
225
+ < li > The new -simplify-libcalls pass improves code generated for well-known
226
+ library calls. The pass optimizes calls to many of the string, memory, and
227
+ standard I/O functions (e.g. replace the calls with simpler/faster calls) when
228
+ possible, given information known statically about the arguments to the call.
229
+ </ li >
230
+
225
231
< li > Loops with trip counts based on array pointer comparisons (e.g. "< tt > for (i
226
232
= 0; &A[i] != &A[100]; ++i) ...</ tt > ") are optimized better than before,
227
233
which primarily helps iterator-intensive C++ codes.</ li >
228
234
229
235
< li > The code generator now uses information about takes advantage of commutative
230
236
two-address instructions when performing register allocation.</ li >
231
237
232
- < li > A new pass has been added to gccas to simplify well-known library calls. The
233
- pass will short circuit calls to many of the string, memory, and printf type
234
- functions or replace the calls with simpler/faster calls, where possible given
235
- information known statically about the arguments to the call. To use the
236
- pass, specify < tt > -simplify-libcalls</ tt > to the < tt > opt</ tt > tool.</ li >
237
-
238
238
239
239
</ ol >
240
240
</ div >
You can’t perform that action at this time.
0 commit comments