projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ae1785
)
add comment
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 25 Feb 2008 16:23:08 +0000
(16:23 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 25 Feb 2008 16:23:08 +0000
(16:23 +0000)
[r17861]
ir/ir/irarch.c
patch
|
blob
|
history
diff --git
a/ir/ir/irarch.c
b/ir/ir/irarch.c
index
f9507d5
..
ada45d6
100644
(file)
--- a/
ir/ir/irarch.c
+++ b/
ir/ir/irarch.c
@@
-930,6
+930,7
@@
ir_node *arch_dep_replace_div_by_const(ir_node *irn) {
ir_node *k_node;
ir_node *curr = left;
+ /* create the correction code for signed values only if there might be a remainder */
if (! is_Div_remainderless(irn)) {
if (k != 1) {
k_node = new_r_Const_long(current_ir_graph, block, mode_Iu, k - 1);