Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
abaf5686
Commit
abaf5686
authored
Sep 24, 2004
by
Michael Beck
Browse files
more comments
[r3931]
parent
f7b491e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/opt/ldstopt.h
View file @
abaf5686
...
...
@@ -25,7 +25,25 @@
*
* Removes redundand non-volatile Loads and Stores.
* May introduce Bad nodes if exceptional control flow
* is removed.
* is removed. The following cases are optimized:
*
* Load without result: A Load which has only a memory use
* is removed.
*
* Load after Store: A Load after a Store is removed, if
* the Load doesn't have an exception handler or is in
* the same block as the Store.
*
* Load after Load: A Load after a Load is removed, if the
* Load doesn't have an exception handler or is in the
* same block as the previous Load.
*
* Store before Store: A Store immediately before another
* Store in the same block is removed, if the Store doesn't
* have an exception handler.
*
* Store after Load: A Store after a Load is removed, if the
* Store doesn't have an exception handler.
*/
void
optimize_load_store
(
ir_graph
*
irg
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment