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

Stable: Compatibility fixes for LLVM 3.5 #25739

Closed
wants to merge 2 commits into from

Commits on May 23, 2015

  1. rustc_trans: don't hardcode llvm version for conditional intrinsics

    This commit introduce a third parameter for compatible_ifn!, as new
    intrinsics are being added in recent LLVM releases and there is no
    need to hardcode a specific case.
    
    Signed-off-by: Luca Bruno <[email protected]>
    lucab authored and davidvoit committed May 23, 2015
    Configuration menu
    Copy the full SHA
    d22e88e View commit details
    Browse the repository at this point in the history
  2. rustc_trans: 'assume' intrinsic is only available on LLVM >= 3.6

    Based on the patch from Luca Bruno.
    
    Instead of creating an empty C function in the rt, this version creates an shim
    noop function using llvm. This function is declared as internal, and the
    unsupported assume intrinsic and the shim gets completly removed by the
    optimizer.
    davidvoit committed May 23, 2015
    Configuration menu
    Copy the full SHA
    25f194e View commit details
    Browse the repository at this point in the history