Highlight the operator in llvm-ir

This commit is contained in:
Benson Chu 2022-12-30 17:09:47 -06:00
parent 6181a7e912
commit c7896a58b8
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit 91c2580f1d29398e80e36b981f132260f9860fbd
Subproject commit fc243348839084a0c650df8dcb65e22cb6c369cc

View file

@ -31,6 +31,7 @@
(require 'ti-lib)
(require 'ti-tools-backup)
(require 'argo-fastsim-dump-mode)
(require 'machine-scheduler-debug-mode)
(require 'frame-restore)
(add-to-list 'auto-mode-alist '("\\.map$" . ti-linker-map-mode))
@ -86,6 +87,9 @@
(add-to-list 'llvm-font-lock-keywords
`(,(rx line-start (optional "# ") "***" (+ nonl) "***" (optional ":") "\n") . 'llvm-separator-face))
(add-to-list 'llvm-font-lock-keywords
`(,(rx " = " (group (+ (or "_" alphanumeric)))) (1 font-lock-keyword-face)))
(add-to-list 'auto-mode-alist
'("\\.dsls$" . json-mode))