projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a1f20
)
Remove a redundant test: The mode of an operand of an Eor must match the mode of...
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 18 Sep 2007 20:40:12 +0000
(20:40 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 18 Sep 2007 20:40:12 +0000
(20:40 +0000)
[r15878]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
bdf6343
..
8b5719a
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-3046,7
+3046,6
@@
static ir_node *transform_node_Eor(ir_node *n) {
DBG_OPT_ALGSIM0(oldn, n, FS_OPT_EOR_A_A);
} else if (mode == mode_b &&
is_Proj(a) &&
- get_irn_mode(a) == mode_b &&
is_Const(b) && is_Const_one(b) &&
is_Cmp(get_Proj_pred(a))) {
/* The Eor negates a Cmp. The Cmp has the negated result anyways! */