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

Add zeroext/signext attributes to C ABI functions where appropriate #31725

Closed
wants to merge 3 commits into from

Commits on Feb 17, 2016

  1. Handle integer-extending for C ABI

    We need to supply sext/zext attributes to LLVM to ensure that arguments
    are extended to the appropriate width in the correct way.
    
    This commit adds the necessary infrastructure for handling integer
    widening and makes the x86-64 code produce the correct information.
    Aatch committed Feb 17, 2016
    Configuration menu
    Copy the full SHA
    f752499 View commit details
    Browse the repository at this point in the history
  2. Classify integer arguments as 'Extend' where appropriate

    Most platforms extend integers less than 32 bits, though not all.
    Aatch committed Feb 17, 2016
    Configuration menu
    Copy the full SHA
    ad232dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f669e6 View commit details
    Browse the repository at this point in the history