Alex Beregszaszi
Alex Beregszaszi
I think it is still needed as a fallback.
Also please note #29 has an attempt at this, but it is not finished. Feel free to pick it up.
It should be fine, when this work started wasm-bindgen wasn't around or wasn't mature enough.
``` $ gperf --version GNU gperf 3.0.3 $ clang --version Apple LLVM version 8.0.0 (clang-800.0.38) $ sw_vers -productVersion 10.11.6 ```
We've tried this and the LLVM IR output generated using the `--output-backend` can be compiled using `llc` to WebAssembly. If there would be an output, say `--output-llvm-ir`, which doesn't include...
For anyone interested: - this sample Refu code: https://gist.github.com/LefterisJP/f3ce8a2a1f7b69d7f58ecd1fe4b40122 - results in this LLVM IR: https://gist.github.com/LefterisJP/a01ac0c6e67e6dd623b6cfa5013ab0cc - and this WebAssembly output: https://gist.github.com/axic/660089577bd269e1f0e9665474fb2b89
There's a `--llvm-ir` option now to display the IR on the standard output. Perhaps it should be changed to emit a file out.
Thank you, this looks great! Would it be possible to split up the changes into multiple PRs? If so, can we start with one, get it merged and so forth?
Nice! Lets just start with a single change first and then we can keep coming back to this PR to pick the other changes from.
I was looking for a complementary/similar feature: the ability to disable packing. (i.e. currently if two storage parameters are each < 256 bits and together they fit into one slot,...