Skip to content

Codegen constraint improvements #2489

@llvmbot

Description

@llvmbot
Bugzilla Link 2117
Resolution FIXED
Resolved on Oct 15, 2008 11:59
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor
CC @asl,@isanbard

Extended Description

Since a number of operations produce results in certain registers or take input in certain registers, it would be very nice to be able to say:

let Constraints = "$dst = %eax, $val = %ecx" in
let Constraints = "$dst = %eax:%edx" in

etc

and have the selection dag insert the to and from reg nodes automatically. This seems like it would cut down on a lot of custom lowering (dag op lowered to copyto, op, copyfrom).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions