forked from OSchip/llvm-project
Add fneg instruction to syntax highlighting lists
llvm-svn: 346785
This commit is contained in:
parent
aca8390216
commit
c2728bc932
|
@ -62,7 +62,7 @@
|
|||
`(,(regexp-opt '("add" "sub" "mul" "sdiv" "udiv" "urem" "srem" "and" "or" "xor"
|
||||
"setne" "seteq" "setlt" "setgt" "setle" "setge") 'symbols) . font-lock-keyword-face)
|
||||
;; Floating-point operators
|
||||
`(,(regexp-opt '("fadd" "fsub" "fmul" "fdiv" "frem") 'symbols) . font-lock-keyword-face)
|
||||
`(,(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)
|
||||
;; Control instructions
|
||||
|
|
|
@ -120,6 +120,7 @@
|
|||
<item> fadd </item>
|
||||
<item> sub </item>
|
||||
<item> fsub </item>
|
||||
<item> fneg </item>
|
||||
<item> mul </item>
|
||||
<item> fmul </item>
|
||||
<item> udiv </item>
|
||||
|
|
|
@ -26,7 +26,7 @@ syn keyword llvmStatement add addrspacecast alloca and arcp ashr atomicrmw
|
|||
syn keyword llvmStatement bitcast br catchpad catchswitch catchret call
|
||||
syn keyword llvmStatement cleanuppad cleanupret cmpxchg eq exact extractelement
|
||||
syn keyword llvmStatement extractvalue fadd fast fcmp fdiv fence fmul fpext
|
||||
syn keyword llvmStatement fptosi fptoui fptrunc free frem fsub getelementptr
|
||||
syn keyword llvmStatement fptosi fptoui fptrunc free frem fsub fneg getelementptr
|
||||
syn keyword llvmStatement icmp inbounds indirectbr insertelement insertvalue
|
||||
syn keyword llvmStatement inttoptr invoke landingpad load lshr malloc max min
|
||||
syn keyword llvmStatement mul nand ne ninf nnan nsw nsz nuw oeq oge ogt ole
|
||||
|
|
Loading…
Reference in New Issue