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

llvm35 fixes #26088

Merged
merged 3 commits into from
Jun 8, 2015
Merged

llvm35 fixes #26088

merged 3 commits into from
Jun 8, 2015

Commits on Jun 8, 2015

  1. Remove useless const

    tamird committed Jun 8, 2015
    Configuration menu
    Copy the full SHA
    1be9e6f View commit details
    Browse the repository at this point in the history
  2. 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 tamird committed Jun 8, 2015
    Configuration menu
    Copy the full SHA
    ce32f64 View commit details
    Browse the repository at this point in the history
  3. 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 authored and tamird committed Jun 8, 2015
    Configuration menu
    Copy the full SHA
    e36e97b View commit details
    Browse the repository at this point in the history