Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

LLVM 5.0 upgrade #193

Closed
Closed
@alexcrichton

Description

@alexcrichton

Hello! With LLVM 5.0 branched relatively recently we started the LLVM 5.0 upgrade in rust-lang/rust a week or so ago and it turned out that we didn't have many blockers on our end! Much of the various bugs here and there have been fixed now and one of the last remaining pieces would be the LLVM 5.0 upgrade for emscripten.

We've got a "small" local commit which adds the asmjs target to the LLVM fork we've got, so we don't actually need to merge the fastcomp backend into our own fork. All of the LLVM tools that emscripten uses, however, currently choke because we'd otherwise be producing LLVM 5.0 bitcode (tagged as such) and emscriptens current LLVM version (4.0 I believe) rejects any bitcode generated by a future LLVM (rightfully so!)

I'm just opening this to track progress to upgrading to LLVM 5.0, I'm not actually sure what's involved in doing that on this site! It's also worth pointing out that this isn't super urgent on our end. AFAIK there's not a huge amount of demand to upgrade rustc to LLVM 5.0, it's just generally good to stay updated. I wanted to start early this time to shake out any regressions but that ended up not taking as long as expected!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions