projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d205ac9
)
Slightly reduce code duplication.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 9 Sep 2008 09:19:06 +0000
(09:19 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 9 Sep 2008 09:19:06 +0000
(09:19 +0000)
[r21769]
ir/ir/iropt.c
patch
|
blob
|
history
diff --git
a/ir/ir/iropt.c
b/ir/ir/iropt.c
index
37b5b87
..
d9b2966
100644
(file)
--- a/
ir/ir/iropt.c
+++ b/
ir/ir/iropt.c
@@
-1219,16
+1219,15
@@
restart:
goto restart;
}
/* else both are strict conv, second is superfluous */
goto restart;
}
/* else both are strict conv, second is superfluous */
- } else if (is_Proj(a)) {
- ir_node *pred = get_Proj_pred(a);
- if (is_Load(pred)) {
- /* loads always return with the exact precision of n_mode */
- assert(get_Load_mode(pred) == n_mode);
- return a;
- }
- /* leave strict floating point Conv's */
- return n;
} else {
} else {
+ if (is_Proj(a)) {
+ ir_node *pred = get_Proj_pred(a);
+ if (is_Load(pred)) {
+ /* loads always return with the exact precision of n_mode */
+ assert(get_Load_mode(pred) == n_mode);
+ return a;
+ }
+ }
/* leave strict floating point Conv's */
return n;
}
/* leave strict floating point Conv's */
return n;
}