Home / Skills / Technical Docs / add-ir-instruction

add-ir-instruction

By facebook. Updated February 19, 2026. Categories: Technical Docs.

Guide for adding a new IR instruction to the Hermes compiler. Use when the user asks to add, create, or define a new IR instruction (Inst/Instruction) in the Hermes intermediate representation. Covers all required files and the patterns for each.

View repository on GitHub

SKILL.md

The description above is the indexed summary. With JavaScript enabled, this page also loads the SKILL.md text from GitHub.