projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unbreak build.
[libfirm]
/
ir
/
opt
/
loop_unrolling.c
diff --git
a/ir/opt/loop_unrolling.c
b/ir/opt/loop_unrolling.c
index
dfd7a58
..
7e52ea5
100644
(file)
--- a/
ir/opt/loop_unrolling.c
+++ b/
ir/opt/loop_unrolling.c
@@
-34,12
+34,9
@@
#include "config.h"
#endif
#include "config.h"
#endif
-#ifdef HAVE_STRING_H
#include <string.h>
#include <string.h>
-#endif
-
-#include "loop_unrolling.h"
+#include "iroptimize.h"
#include "irnode_t.h"
#include "irgwalk.h"
#include "ircons.h"
#include "irnode_t.h"
#include "irgwalk.h"
#include "ircons.h"
@@
-50,7
+47,7
@@
#include "trouts.h"
#include "hashptr.h"
#include "pset.h"
#include "trouts.h"
#include "hashptr.h"
#include "pset.h"
-#include "strength_red.h"
+#include "strength_red
_t
.h"
#include "compute_loop_info.h"
#include "irdump.h"
#include "irtools.h"
#include "compute_loop_info.h"
#include "irdump.h"
#include "irtools.h"
@@
-75,6
+72,7
@@
static int set_cmp(const void *elt, const void *key, size_t size)
{
const copies_t *c1 = elt;
const copies_t *c2 = key;
{
const copies_t *c1 = elt;
const copies_t *c2 = key;
+ (void) size;
return c1->irn != c2->irn;
}
return c1->irn != c2->irn;
}
@@
-115,6
+113,8
@@
set_preds (set *l_n, copies_t *value, induct_var_info *info, int unroll_factor,
ir_node *loop_head;
int i, p, irn_arity;
copies_t key, *value_pred;
ir_node *loop_head;
int i, p, irn_arity;
copies_t key, *value_pred;
+ (void) env;
+
if(value->copy[0] == NULL ||
get_irn_op(value->irn) != get_irn_op(value->copy[0]))
return;
if(value->copy[0] == NULL ||
get_irn_op(value->irn) != get_irn_op(value->copy[0]))
return;