Commit f275b5cf authored by Christoph Mallon's avatar Christoph Mallon
Browse files

bescripts: Use the class requirements provided by regalloc instead of...

bescripts: Use the class requirements provided by regalloc instead of generating duplicate ones for new nodes.
parent 5fb9fc8a
......@@ -906,6 +906,9 @@ sub generate_requirements
} elsif ($reqs eq "none") {
return "arch_no_requirement";
} elsif (is_reg_class($reqs) && !$is_reg) {
if (!defined($flags)) {
return "${arch}_class_reg_req_$reqs";
}
$class = $reqs;
$result = <<EOF;
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment