miniblog.
← Back to all posts
Aug 21, 2015 at 22:55
Discovered that LLVM's lli command has a --force-interpreter option! If you're debugging your LLVM IR, it give significantly more info.
Wilfred Hughes
Related Posts
Dec 5, 2019 at 04:44
Rust is doing constant propagation on its internal IR before monomorphisation. This can give faster compiles because LLVM is given less code!
Redirect
blog.rust-lang.org/inside-rust/2019/12/02/const-prop-on-by-default.html
Wilfred Hughes
Shared words: LLVM, IR, give Score: 94.5
Jul 6, 2019 at 22:12
A really neat idea for LLVM: AST interpreters are slow, so clang's constexpr evaluator is slow. Write a small bytecode interpreter to make constexpr execution scale better!
[cfe-dev] [RFC] ConstExprPreter — clang constexpr interpreter
lists.llvm.org/pipermail/cfe-dev/2019-July/062799.html
Wilfred Hughes
Shared words: LLVM, interpreter Score: 60.5
May 9, 2014 at 21:46
I don't know about you, but I like my BF interpreters written in BF, compiled to LLVM via Rust macros:
File not found · huonw/brainfuck_macros
A brainfuck procedural macro for Rust. Contribute to huonw/brainfuck_macros development by creating an account on GitHub.
Wilfred Hughes
Shared words: LLVM, interpreter Score: 60.5