VOOZH about

URL: https://www.phoronix.com/news/Google-LLVM-JavaScript-IR-JSIR

⇱ Google Proposes JSIR As A High-Level IR For JavaScript - Phoronix


👁 Phoronix

Google Proposes JSIR As A High-Level IR For JavaScript

Written by Michael Larabel in LLVM on 6 April 2026 at 06:11 AM EDT. 7 Comments
Google engineers have been developing JSIR as a high-level intermediate representation (JSIR) for JavaScript that they are already using in production at the company code code analysis and transforming other code/bytecode to JavaScript as well as for deobfuscating JavaScript code.

Zhixun Tan of Google's compiler team issued a request for comments (RFC) today on JSIR that builds off in part of the work of the LLVM and MLIR communities. Most JavaScript tooling to date relies on AST-based approaches rather than IR, which is where they are working on JSIR to fill that void.

👁 JSIR


JSIR is intended to be a public and stable IR and capture all source-level information. Google engineers are currently soliciting LLVM/MLIR developers in whether interest would be there in upstreaming JSIR into MLIR.

Those curious can see today's RFC on JSIR for the technical overview. JSIR is already open-source and available on GitHub.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.