[llvm-dev] Details on JavaScriptCore's new B3 JIT, replacing their LLVM JIT
Alex Bradbury via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 15 08:02:04 PST 2016
A great blog post has just gone up about JavascriptCore's new B3 JIT.
https://webkit.org/blog/5852/introducing-the-b3-jit-compiler/
This replaces LLVM as the low-level optimisation layer of the FTL JIT.
They currently achieve roughly 5x faster compile time than LLVM while
achieving roughly the same generated code quality for their workloads.
I'm sharing as I thought some parts of the design may be interesting
to other LLVM devs, including the use of Check opcodes ("like a
marriage between a Branch and a Patchpoint") and the backwards greedy
pattern matching for lowering from B3 to Air.
Alex
More information about the llvm-dev
mailing list