projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355d06b
)
Fixed opt/fehler196.c.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 18 Aug 2011 12:31:40 +0000
(14:31 +0200)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 18 Aug 2011 12:31:40 +0000
(14:31 +0200)
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
61638d9
..
e33045e
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-4941,7
+4941,7
@@
static ir_node *transform_node_Or(ir_node *n)
/* we can combine the relations of two compares with the same operands */
if (is_Cmp(a) && is_Cmp(b)) {
ir_node *a_left = get_Cmp_left(a);
- ir_node *a_right = get_Cmp_
lef
t(a);
+ ir_node *a_right = get_Cmp_
righ
t(a);
ir_node *b_left = get_Cmp_left(b);
ir_node *b_right = get_Cmp_right(b);
if (a_left == b_left && b_left == b_right) {