summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralonmishne <alonmishne@gmail.com>2013-12-01 15:24:14 +0000
committeralonmishne <alonmishne@gmail.com>2013-12-01 15:24:14 +0000
commit6e3026e75d4d9af21789944535fa5977e618c085 (patch)
tree3bcab42e47488d873bdef56a0f9d9e8534c984ea
parent53cf29bebdd3ee0b2401700b302dd8574012233e (diff)
downloadpygments-6e3026e75d4d9af21789944535fa5977e618c085.tar.gz
LLVM IR lexer - added new instructions
-rw-r--r--pygments/lexers/asm.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pygments/lexers/asm.py b/pygments/lexers/asm.py
index 75e1a132..3eb58805 100644
--- a/pygments/lexers/asm.py
+++ b/pygments/lexers/asm.py
@@ -269,13 +269,16 @@ class LlvmLexer(RegexLexer):
r'|lshr|ashr|and|or|xor|icmp|fcmp'
r'|phi|call|trunc|zext|sext|fptrunc|fpext|uitofp|sitofp|fptoui'
- r'fptosi|inttoptr|ptrtoint|bitcast|select|va_arg|ret|br|switch'
+ r'|fptosi|inttoptr|ptrtoint|bitcast|select|va_arg|ret|br|switch'
r'|invoke|unwind|unreachable'
+ r'|indirectbr|landingpad|resume
r'|malloc|alloca|free|load|store|getelementptr'
r'|extractelement|insertelement|shufflevector|getresult'
r'|extractvalue|insertvalue'
+
+ r'|atomicrmw|cmpxchg|fence
r')\b', Keyword),