From 87ce06e3155775f63ce8b6693282c130e7dff21d 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 --- llvm/utils/emacs/llvm-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/emacs/llvm-mode.el b/llvm/utils/emacs/llvm-mode.el index 1d0b97c5cd09..d0801a323b50 100644 --- a/llvm/utils/emacs/llvm-mode.el +++ b/llvm/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