projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db05fe
)
fixed equivalent_node_Quot()
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 3 Jul 2006 13:20:46 +0000
(13:20 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 3 Jul 2006 13:20:46 +0000
(13:20 +0000)
[r7993]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
0cfee7b
..
0c6d049
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-1085,8
+1085,8
@@
static ir_node *equivalent_node_Div(ir_node *n)
* Optimize a / 1.0 = a.
*/
static ir_node *equivalent_node_Quot(ir_node *n) {
- ir_node *a = get_
Div
_left(n);
- ir_node *b = get_
Div
_right(n);
+ ir_node *a = get_
Quot
_left(n);
+ ir_node *b = get_
Quot
_right(n);
/* Div is not commutative. */
if (classify_tarval(value_of(b)) == TV_CLASSIFY_ONE) { /* Quot(x, 1) == x */