projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1189e75
)
fixed enable mask
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Oct 2004 16:29:49 +0000
(16:29 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Oct 2004 16:29:49 +0000
(16:29 +0000)
[r4069]
ir/ir/irarch.c
patch
|
blob
|
history
diff --git
a/ir/ir/irarch.c
b/ir/ir/irarch.c
index
ddc2402
..
b65eaea
100644
(file)
--- a/
ir/ir/irarch.c
+++ b/
ir/ir/irarch.c
@@
-458,7
+458,8
@@
void arch_dep_replace_divmod_with_shifts(ir_node **div, ir_node **mod, ir_node *
/* If the architecture dependent optimizations were not initialized
or this optimization was not enabled. */
- if (params == NULL || (opts & arch_dep_mod_to_shift) == 0)
+ if (params == NULL ||
+ (opts & (arch_dep_div_to_shift|arch_dep_mod_to_shift) != (arch_dep_div_to_shift|arch_dep_mod_to_shift)))
return;
if (get_irn_opcode(irn) == iro_DivMod) {