Comments (4)
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.
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.
@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.
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 theintel/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)
- Initial support for OpenCL HOT 3
- ABI-aware calling conventions
- Teach CIR pointers about address space
- Adding ClangIR testing to debian-fast buildbot
- Remove "cir" from ENABLE_LLVM_PROJECTS
- MLIRCIR and MLIRCIRInterfaces depend upon one another
- Use more IRGen diagnostics in CIRGen
- Improve initialization: e.g. `cir.init_array` and `cir.init_struct` ops HOT 2
- Use trailing zeros for `cir.const_struct`
- Add support for complex numbers
- Optimization: semantic inline
- Cleanup `cir.scope`s with a single `cir.yield` operation HOT 4
- Insert remaining `cir.unreachable`s HOT 2
- Fix cleanups crashes in `vla.c`
- Break down `emitStoresForConstant` into optimized operations HOT 4
- CIR operation for `dynamic_cast` HOT 2
- CIR Record Layout diverges from LLVM's one
- Simplify redundant bitcasts
- `!cir.bool` lowering differs from original clang CodeGen. HOT 2
- Documents for using CIR will be helpful HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clangir.