[all-commits] [llvm/llvm-project] 8cbf04: [emacs] Add llvm-mir-mode

Justin Bogner via All-commits all-commits at lists.llvm.org
Tue Feb 7 16:01:43 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8cbf041ecb1c304148cd09987f4bd73a41cb51a9
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M llvm/utils/emacs/README
    A llvm/utils/emacs/llvm-mir-mode.el

  Log Message:
  [emacs] Add llvm-mir-mode

Adds an emacs mode for .mir files. For the most part this just
consists of keyword rules for various MIR constructs and then
appending the llvm-mode keywords to that. This doesn't currently
attempt to do anything to be aware of the YAML structure or
differentiate between machine IR and embedded LLVM IR.

More information about the All-commits mailing list