[llvm] 87ce06e - Add freeze keyword to IR emacs mode
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 11:58:35 PDT 2020
Author: Matt Arsenault
Date: 2020-08-06T14:58:28-04:00
New Revision: 87ce06e3155775f63ce8b6693282c130e7dff21d
URL: https://github.com/llvm/llvm-project/commit/87ce06e3155775f63ce8b6693282c130e7dff21d
DIFF: https://github.com/llvm/llvm-project/commit/87ce06e3155775f63ce8b6693282c130e7dff21d.diff
LOG: Add freeze keyword to IR emacs mode
Added:
Modified:
llvm/utils/emacs/llvm-mode.el
Removed:
################################################################################
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
More information about the llvm-commits
mailing list