Giter Site home page Giter Site logo

How to use ClangIR downstream? about clangir HOT 4 OPEN

keryell avatar keryell commented on September 21, 2024 1
How to use ClangIR downstream?

from clangir.

Comments (4)

lanza avatar lanza commented on September 21, 2024 1

Hey @keryell!

We rebase because upstream LLVM doesn't use merges. The goal is to, at some point, be integrated into the main LLVM tree.

The rebase cadence is rather discontinuous right now. I hope to get it more regular soon, but have been busy with other work. A weekly cadence is the eventual goal.

How do other projects work with ClangIR?

An example sycl-clangir branch is available. I took the git merge-base upstream/main intel/sycl-mlir point, rebased clangir to that and then merged the intel/sycl-mlir branch. I think VAST just builds the clangir-17 branch as their base branch and then builds VAST against it.

from clangir.

keryell avatar keryell commented on September 21, 2024 1

sorry I didn't had the time to catch up with your during the meeting, and thanks for trying out ClangIR.

Do not worry and thank you for making ClangIR. :-)

Hopefully upstreaming would make it more appealing to you.

Sure, more appealing to anyone indeed!

from clangir.

bcardosolopes avatar bcardosolopes commented on September 21, 2024

@keryell sorry I didn't had the time to catch up with your during the meeting, and thanks for trying out ClangIR. Hopefully upstreaming would make it more appealing to you. I don't know if this helps, but we also track the base LLVM branch from latest rebases in https://github.com/llvm/clangir/tree/base, so that would a common ancestor to look at.

from clangir.

keryell avatar keryell commented on September 21, 2024

We rebase because upstream LLVM doesn't use merges. The goal is to, at some point, be integrated into the main LLVM tree.

I guess this depends on whether the up-streaming happens soon or not.

An example sycl-clangir branch is available. I took the git merge-base upstream/main intel/sycl-mlir point, rebased clangir to that and then merged the intel/sycl-mlir branch.

Interesting.
I have done the same and it seems going quite better than I would have expected, with only 1 commit keryell@ba06c76 to have the compilation working.
Not perfect, since running check-clang-cir shows 32 failed tests among 221.

from clangir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.