path: root/ir/be/beschedtrivial.c
diff options
authorMatthias Braun <>2009-08-06 16:49:04 +0200
committerMatthias Braun <>2009-08-06 16:49:04 +0200
commit0860cafaff791b93c568c77739bd7d9c7240ee2f (patch)
tree636dc2856e45d632eea43fe8143058c40173809d /ir/be/beschedtrivial.c
parente738216b930e4a25a92aa668a8c8552cd15834c0 (diff)
- Rewrite internal backend logic for querying register constraints.
(We have a separate get_input, and get_output callback for now). This should make the code faster for now and is a first step towards changing the interface to query register constraints on the mode_T node itself instead of the Proj nodes. - Handle middleend node constraints and stuff in benode.c instead of in each backend - Remove irn_class_branch we already had is_cfop in the middleend - Fix a bunch of bugs/problems in the process [r26320]
Diffstat (limited to 'ir/be/beschedtrivial.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beschedtrivial.c b/ir/be/beschedtrivial.c
index f2196d7..b95fefe 100644
--- a/ir/be/beschedtrivial.c
+++ b/ir/be/beschedtrivial.c
@@ -50,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) {
- if (!arch_irn_class_is(irn, branch)) {
+ if (!is_cfop(irn)) {
return irn;