projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
convert bitfield initializer tarvals before using them
[libfirm]
/
ir
/
opt
/
ldst2.c
diff --git
a/ir/opt/ldst2.c
b/ir/opt/ldst2.c
index
c2a1408
..
845c665
100644
(file)
--- a/
ir/opt/ldst2.c
+++ b/
ir/opt/ldst2.c
@@
-29,7
+29,7
@@
#include "iroptimize.h"
#include "iroptimize.h"
-#include "array.h"
+#include "array
_t
.h"
#include "debug.h"
#include "ircons.h"
#include "irgraph.h"
#include "debug.h"
#include "ircons.h"
#include "irgraph.h"
@@
-370,7
+370,7
@@
static int WalkMem(ir_graph* irg, ir_node* node, ir_node* last_block)
if (block != last_block) {
DB((dbg, LEVEL_3, "===> Changing block from %+F to %+F\n", last_block, block));
block_change = 1;
if (block != last_block) {
DB((dbg, LEVEL_3, "===> Changing block from %+F to %+F\n", last_block, block));
block_change = 1;
- if (
Block_not
_block_visited(block)) {
+ if (
!Block
_block_visited(block)) {
mark_Block_block_visited(block);
} else {
DB((dbg, LEVEL_2, "===> Hit already visited block at %+F\n", node));
mark_Block_block_visited(block);
} else {
DB((dbg, LEVEL_2, "===> Hit already visited block at %+F\n", node));
@@
-410,7
+410,7
@@
static int WalkMem(ir_graph* irg, ir_node* node, ir_node* last_block)
ir_node* unknown;
DB((dbg, LEVEL_3, "===> The predecessor was not finished yet\n"));
ir_node* unknown;
DB((dbg, LEVEL_3, "===> The predecessor was not finished yet\n"));
- assert(
!Block_not
_block_visited(pred_block));
+ assert(
Block
_block_visited(pred_block));
unknown = new_r_Unknown(irg, mode_M);
for (i = 0; i < count_addrs; i++) {
unknown = new_r_Unknown(irg, mode_M);
for (i = 0; i < count_addrs; i++) {
@@
-840,10
+840,10
@@
static void walker(ir_node *proj, void *env)
void opt_sync(ir_graph *irg)
{
void opt_sync(ir_graph *irg)
{
-
assure_irg_address_taken
_computed(irg);
-
assure_irp_globals_address_taken
_computed();
+
//assure_irg_entity_usage
_computed(irg);
+
//assure_irp_globals_entity_usage
_computed();
irg_walk_graph(irg, NULL, walker, NULL);
irg_walk_graph(irg, NULL, walker, NULL);
- //optimize_graph_df(irg);
+
//optimize_graph_df(irg);
//irg_walk_graph(irg, NormaliseSync, NULL, NULL);
}
//irg_walk_graph(irg, NormaliseSync, NULL, NULL);
}