[PATCH] D158321: [emacs] Handle vector types, arbitary integer types and function names

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 19 11:25:54 PDT 2023


luke added a comment.

In D158321#4600816 <https://reviews.llvm.org/D158321#4600816>, @goldstein.w.n wrote:

> Example of some syntax this is suppose to help?

My bad, I did some last minute refactoring and didn't realise that the script didn't actually evaluate successfully. Fixed now.

New bits of syntax that should be highlighted:

  <vscale x 4 x i32>
  <2 x float>
  i25
  @my_function

Also by dropping the `symbols` arg to `regexp-opt`, we now properly highlight types that appear inside a vector constant, e.g. previously the first `i32` wasn't highlighted in `<i32 0, i32 1, i32 2, i32 3>`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158321/new/

https://reviews.llvm.org/D158321



More information about the llvm-commits mailing list