projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bearch: Use arch_register_req_is(req, ignore) instead of arch_irn_is_ignore(...)...
[libfirm]
/
ir
/
ir
/
irop.c
diff --git
a/ir/ir/irop.c
b/ir/ir/irop.c
index
4234712
..
c1001c8
100644
(file)
--- a/
ir/ir/irop.c
+++ b/
ir/ir/irop.c
@@
-26,6
+26,7
@@
#include <string.h>
#include <string.h>
+#include "error.h"
#include "irop_t.h"
#include "irnode_t.h"
#include "irhooks.h"
#include "irop_t.h"
#include "irnode_t.h"
#include "irhooks.h"
@@
-338,7
+339,7
@@
static int node_cmp_attr_Phi(const ir_node *a, const ir_node *b)
(void) b;
/* do not CSE Phi-nodes without any inputs when building new graphs */
if (get_irn_arity(a) == 0 &&
(void) b;
/* do not CSE Phi-nodes without any inputs when building new graphs */
if (get_irn_arity(a) == 0 &&
-
get_irg_phase_state(get_irn_irg(a)) == phase_building
) {
+
irg_is_constrained(get_irn_irg(a), IR_GRAPH_CONSTRAINT_CONSTRUCTION)
) {
return 1;
}
return 0;
return 1;
}
return 0;