summaryrefslogtreecommitdiffhomepage
path: root/ir/be/besched.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2009-08-06 16:49:04 +0200
committerMatthias Braun <matze@braunis.de>2009-08-06 16:49:04 +0200
commit0860cafaff791b93c568c77739bd7d9c7240ee2f (patch)
tree636dc2856e45d632eea43fe8143058c40173809d /ir/be/besched.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/besched.c')
-rw-r--r--ir/be/besched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/besched.c b/ir/be/besched.c
index 9f5699e..a99113e 100644
--- a/ir/be/besched.c
+++ b/ir/be/besched.c
@@ -105,7 +105,7 @@ void sched_renumber(const ir_node *block)
int sched_skip_cf_predicator(const ir_node *irn, void *data)
{
(void)data;
- return arch_irn_class_is(irn, branch);
+ return is_cfop(irn);
}
int sched_skip_phi_predicator(const ir_node *irn, void *data) {