diff --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim --- a/llvm/utils/vim/syntax/llvm.vim +++ b/llvm/utils/vim/syntax/llvm.vim @@ -26,7 +26,7 @@ syn keyword llvmStatement bitcast br catchpad catchswitch catchret call callbr 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 fneg getelementptr +syn keyword llvmStatement fptosi fptoui fptrunc free freeze 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 diff --git a/llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml b/llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml --- a/llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml +++ b/llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml @@ -67,6 +67,7 @@ \\bfptrunc\\b|\ \\bfree\\b|\ \\bfrem\\b|\ + \\bfreeze\\b|\ \\bfsub\\b|\ \\bfneg\\b|\ \\bgetelementptr\\b|\ @@ -335,6 +336,7 @@ \\bnull\\b|\ \\bzeroinitializer\\b|\ \\bundef\\b|\ + \\bpoison\\b|\ \\bnull\\b|\ \\bnone\\b" name: constant.language