projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c856036
)
Remove a redundant test: The mode of the op of a Not must match the mode of the Not.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 18 Sep 2007 19:25:11 +0000
(19:25 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 18 Sep 2007 19:25:11 +0000
(19:25 +0000)
[r15876]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
d772bb1
..
bd7fed3
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-3083,7
+3083,6
@@
static ir_node *transform_node_Not(ir_node *n) {
/* check for a boolean Not */
if ( (get_irn_mode(n) == mode_b)
&& (op_a == op_Proj)
- && (get_irn_mode(a) == mode_b)
&& (get_irn_op(get_Proj_pred(a)) == op_Cmp)) {
/* We negate a Cmp. The Cmp has the negated result anyways! */
n = new_r_Proj(current_ir_graph, get_irn_n(n, -1), get_Proj_pred(a),