Robin
Robin
Re-opening this issue since LLVM 15.0 has not yet been released. `llir/llvm` currently supports the LLVM 15.0 rc1 release.
> https://discourse.llvm.org/t/llvm-15-0-0-release/65099 > Here we go Yay! Just a quick heads up, I'll be very busy at Uni for the next few months. So. I won't be able to review...
> @mewmew Would you like to create the issue in llir/irutil? Lets keep all issues in one tracker for now (in `llir/llvm/issues`). It's easier to get an overview of the...
> I have implemented some of the most used stdlibc functions at https://github.com/Nv7-GitHub/bpp/blob/ff2d32542a2b493cc5eaa7e75f349371d9e99111/old/compiler/builtins.go#L46 if that would be any help Definitely helpful. I think we can evaluate a few different approaches...
> Can clang produce LLVM from headers? At least using a tiny dummy C file including the headers. Input (dummy) C file: ```c #include #include void *foo1 = printf; void...
> But how would the API look? A map of function name to function? A bunch of global variables with the functions? A function to get a stdlib fn by...
The following comparison is based on rev 9c2e8ca9680265961af125c012a0ecde0042ce7d. llir is 1.85x slower than LLVM to parse `shell.ll` of SQLite. llir is 1.55x slower than LLVM to parse `vdir.ll` of Coreutils....
As we've reached the hand-wavy ~2x slowdown target for the v0.3.0 release, I've changed the milestone to *future*, as we will constantly seek to improve the performance of llir. It...
Moving performance related note from `TODO.md` to this issue. * figure out how to remove backtracking table in lexer (ref: http://textmapper.org/documentation.html#backtracking-and-invalid-tokens)
Hi @Nv7-GitHub, There is an initial implementation for handling basic types (e.g. int, float, etc). See [irutil.Layout](https://pkg.go.dev/github.com/llir/irutil#Layout) and [irutil.DefaultLayout.SizeOf](https://pkg.go.dev/github.com/llir/irutil#DefaultLayout.SizeOf). Note that the implementation does not yet handle calculating the size...