projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- removed old global handling artifact
[libfirm]
/
ir
/
ir
/
irarch.c
diff --git
a/ir/ir/irarch.c
b/ir/ir/irarch.c
index
387310f
..
d72fbe9
100644
(file)
--- a/
ir/ir/irarch.c
+++ b/
ir/ir/irarch.c
@@
-928,7
+928,7
@@
ir_node *arch_dep_replace_div_by_const(ir_node *irn) {
ir_node *curr = left;
/* create the correction code for signed values only if there might be a remainder */
ir_node *curr = left;
/* create the correction code for signed values only if there might be a remainder */
- if (!
is_Div_remainderless
(irn)) {
+ if (!
get_Div_no_remainder
(irn)) {
if (k != 1) {
k_node = new_Const_long(mode_Iu, k - 1);
curr = new_rd_Shrs(dbg, current_ir_graph, block, left, k_node, mode);
if (k != 1) {
k_node = new_Const_long(mode_Iu, k - 1);
curr = new_rd_Shrs(dbg, current_ir_graph, block, left, k_node, mode);