Closed ctbur closed 4 years ago
Which version of LLVM are you using?
Ok, I thought I was on branch release_80
, but after checking it seems that I am actually on master
. That's what I get for copying multiple lines of shell code without carefully checking the result..
In any case, the code compiles and the tests run successfully. Maybe you can use this in the future, otherwise you can close the PR.
Maybe make these changes with an #ifdef
for LLVM version 9?
LLVM 9 is released now, so the PR should be applicable.
Can you update the README to say this now targets LLVM 9, and we can merge this.
Please don't break prior LLVM versions in the process (talking about that second commit, perhaps using an #ifdef there?).
While following the instructions in the readme there were two compilation errors. This PR contains the changes needed to make the C backend compile.