From 302794de3c7d9c2219624d2a85530d14e79f7ae8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 6 Aug 2020 14:57:11 -0400 Subject: [PATCH] Add freeze keyword to IR emacs mode --- utils/emacs/llvm-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/emacs/llvm-mode.el b/utils/emacs/llvm-mode.el index 1d0b97c5cd0..d0801a323b5 100644 --- a/utils/emacs/llvm-mode.el +++ b/utils/emacs/llvm-mode.el @@ -64,7 +64,7 @@ ;; Floating-point operators `(,(regexp-opt '("fadd" "fsub" "fneg" "fmul" "fdiv" "frem") 'symbols) . font-lock-keyword-face) ;; Special instructions - `(,(regexp-opt '("phi" "tail" "call" "select" "to" "shl" "lshr" "ashr" "fcmp" "icmp" "va_arg" "landingpad") 'symbols) . font-lock-keyword-face) + `(,(regexp-opt '("phi" "tail" "call" "select" "to" "shl" "lshr" "ashr" "fcmp" "icmp" "va_arg" "landingpad" "freeze") 'symbols) . font-lock-keyword-face) ;; Control instructions `(,(regexp-opt '("ret" "br" "switch" "invoke" "resume" "unwind" "unreachable" "indirectbr") 'symbols) . font-lock-keyword-face) ;; Memory operators