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

Update to LLVM 4.0 #3

Open
dcci opened this issue May 25, 2017 · 0 comments
Open

Update to LLVM 4.0 #3

dcci opened this issue May 25, 2017 · 0 comments

Comments

@dcci
Copy link

dcci commented May 25, 2017

Hi, Daniel Berlin pointed me out to this so I decided to give it a try :)

I have a branch where I updated this to 4.0, but here are a few notes:
master...dcci:range

  1. I currently stripped the time stats from the pass as TimeValue doesn't exist anymore in LLVM, so that should use something like std::chrono. I'm not particularly interested in them as I generally run passes under a debugger, but I guess those should be reintegrated at some point.

  2. LLVM trunk has a new pass that builds e-SSA, PredicateInfo, so I assume the e-SSA construction could be replaced with the LLVM builtin one.

  3. We have an implementation of Nuutila SCC walker in LLVM now as part of NewGVN. This is private right now, but could be moved to llvm/Transforms/Utils and re-used here.

The (still unimplemented) improvements in 2) and 3) should slim down pass quite a bit, I guess.

Eventually I'd like this work to get to LLVM (maybe building a VRP transform on top of it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant