Skip to content

[mac os/x86] Structures <= 8 bytes should be returned in registers #1157

@lattner

Description

@lattner
Bugzilla Link 785
Resolution FIXED
Resolved on Feb 22, 2010 12:49
Version 1.6
OS MacOS X

Extended Description

Consider this example:
struct X { double D; };
struct Y { struct X x;};

struct Y bar();
void foo(struct Y *P) {
*P = bar();
}

The result of bar() should be in ST0 on Darwin/x86.

-Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    ABIApplication Binary InterfacebugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagmiscompilation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions