projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07d5ec6
)
ldstopt: Remove duplicate comments.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 2 Dec 2012 11:17:40 +0000
(12:17 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 2 Dec 2012 11:17:40 +0000
(12:17 +0100)
The functions are documented in the header already.
ir/opt/ldstopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
bccb388
..
81d2b8d
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-911,10
+911,6
@@
static unsigned follow_Mem_chain(ir_node *load, ir_node *curr)
return res;
} /* follow_Mem_chain */
-/*
- * Check if we can replace the load by a given const from
- * the const code irg.
- */
ir_node *can_replace_load_by_const(const ir_node *load, ir_node *c)
{
ir_mode *c_mode = get_irn_mode(c);
@@
-2138,9
+2134,6
@@
static int optimize_loops(ir_graph *irg)
return env.changes;
} /* optimize_loops */
-/*
- * do the load store optimization
- */
void optimize_load_store(ir_graph *irg)
{
walk_env_t env;