Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[meta] Multiple return value support #2467

Closed
lattner opened this issue Feb 26, 2008 · 3 comments
Closed

[meta] Multiple return value support #2467

lattner opened this issue Feb 26, 2008 · 3 comments
Labels
bugzilla Issues migrated from bugzilla enhancement Improving things as opposed to bug fixing, e.g. new or missing feature llvm:core

Comments

@lattner
Copy link
Collaborator

lattner commented Feb 26, 2008

Bugzilla Link 2095
Resolution FIXED
Resolved on Apr 29, 2008 00:57
Version 2.2
OS All
Depends On #2466

Extended Description

We need:

  1. support in llvm IR to represent multiple return values
  2. optimizations updated to not die in the face of MRVs
  3. something that generates MRVs, I'd suggest enhancing arg promotion to promote results to use them.
  4. generic codegen support for MRVs including using the CallingConv.td support
  5. target-specific support for them, as appropriate, such as support for the x86-64 calling conv stuff
  6. enhance inline asm to have result register values returned as an extra result instead of using "=*r" constraints (Bug 2094).
@llvmbot
Copy link
Collaborator

llvmbot commented Mar 20, 2008

1), 2) and 3) are done now.

@lattner
Copy link
Collaborator Author

lattner commented Apr 27, 2008

This is all done except #​6. Also, MRVs in their full generality aren't supported by all targets.

@lattner
Copy link
Collaborator Author

lattner commented Apr 29, 2008

#​6 is done.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
@Endilll Endilll added enhancement Improving things as opposed to bug fixing, e.g. new or missing feature and removed new-feature labels Aug 15, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla enhancement Improving things as opposed to bug fixing, e.g. new or missing feature llvm:core
Projects
None yet
Development

No branches or pull requests

3 participants