projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small optimisation: we can still skip unsigned/signed convs in AM matching
[libfirm]
/
ir
/
be
/
beschedtrivial.c
diff --git
a/ir/be/beschedtrivial.c
b/ir/be/beschedtrivial.c
index
ff6973f
..
b95fefe
100644
(file)
--- a/
ir/be/beschedtrivial.c
+++ b/
ir/be/beschedtrivial.c
@@
-24,9
+24,7
@@
* @date 29.08.2006
* @version $Id$
*/
* @date 29.08.2006
* @version $Id$
*/
-#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
-#endif
#include <stdlib.h>
#include <stdlib.h>
@@
-52,7
+50,7
@@
static ir_node *trivial_select(void *block_env, ir_nodeset_t *ready_set,
/* assure that branches and constants are executed last */
foreach_ir_nodeset(ready_set, irn, iter) {
/* assure that branches and constants are executed last */
foreach_ir_nodeset(ready_set, irn, iter) {
- if (!
arch_irn_class_is(irn, branch
)) {
+ if (!
is_cfop(irn
)) {
return irn;
}
}
return irn;
}
}