summaryrefslogtreecommitdiffstats
path: root/llvm/utils/emacs
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-08-19 21:30:15 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-08-19 21:30:15 +0000
commit0a448fbca323014f1754cb16a56d698cdb18d258 (patch)
tree6b2b2c025ef9c60421e610db2a1bc02a54890629 /llvm/utils/emacs
parentdf7be5105a124233d063bfb55dfe4b80f88e0481 (diff)
downloadbcm5719-llvm-0a448fbca323014f1754cb16a56d698cdb18d258.tar.gz
bcm5719-llvm-0a448fbca323014f1754cb16a56d698cdb18d258.zip
IR: Implement uselistorder assembly directives
Implement `uselistorder` and `uselistorder_bb` assembly directives, which allow the use-list order to be recovered when round-tripping to assembly. This is the bulk of PR20515. llvm-svn: 216025
Diffstat (limited to 'llvm/utils/emacs')
-rw-r--r--llvm/utils/emacs/llvm-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/emacs/llvm-mode.el b/llvm/utils/emacs/llvm-mode.el
index 99d3294272a..61127b64fda 100644
--- a/llvm/utils/emacs/llvm-mode.el
+++ b/llvm/utils/emacs/llvm-mode.el
@@ -48,6 +48,8 @@
`(,(regexp-opt '("extractelement" "insertelement" "shufflevector") 'words) . font-lock-keyword-face)
;; Aggregate ops
`(,(regexp-opt '("extractvalue" "insertvalue") 'words) . font-lock-keyword-face)
+ ;; Use-list order directives
+ `(,(regexp-opt '("uselistorder" "uselistorder_bb") 'words) . font-lock-keyword-face)
)
"Syntax highlighting for LLVM"
OpenPOWER on IntegriCloud