<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/utils/vim, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[Utils][vim] Add missing highlights for disjoint (#136801)</title>
<updated>2025-04-24T01:14:49+00:00</updated>
<author>
<name>Jim Lin</name>
<email>jim@andestech.com</email>
</author>
<published>2025-04-24T01:14:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b45225fd0c756d969f1188baaef374dffd561aa2'/>
<id>b45225fd0c756d969f1188baaef374dffd561aa2</id>
<content type='text'>
This patch adds the `disjoint` as keyword.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the `disjoint` as keyword.</pre>
</div>
</content>
</entry>
<entry>
<title>[vim] Improve iskeyword for LLVM IR (#117905)</title>
<updated>2024-12-04T10:56:55+00:00</updated>
<author>
<name>Fraser Cormack</name>
<email>fraser@codeplay.com</email>
</author>
<published>2024-12-04T10:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8c46413f343d0a5b8db48d958890b9038f03b70d'/>
<id>8c46413f343d0a5b8db48d958890b9038f03b70d</id>
<content type='text'>
This patch sets the 'iskeyword' variable to characters found in LLVM IR
identifiers. Keywords are used in many places in vim, most notably being
treated as word boundaries for commands like 'w' and '*'. The aim with
this is to improve the navigability and editability of LLVM IR files as
now one is able to: skip over entire identifiers with motions (e.g.,
`w/e/b`); yank/delete whole identifiers (e.g., `diw`); highlight/search
for the identifier under the cursor (`*`), etc.

More complicated LLVM identifiers including quotation marks are not
supported. The 'iskeyword' variable is just a list of characters, not a
regex, and including quotation marks and all the characters permitted in
quoted identifiers would expand the scope to almost everything and
become less usable. These types of identifiers are rare by comparison.

Note that this does change how words are considered across the entire
LLVM IR file, so including strings, comments, names, etc. Given that the
majority of editing/navigating LLVM IR is working with and across
values, this is arguably a worthwhile trade-off.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch sets the 'iskeyword' variable to characters found in LLVM IR
identifiers. Keywords are used in many places in vim, most notably being
treated as word boundaries for commands like 'w' and '*'. The aim with
this is to improve the navigability and editability of LLVM IR files as
now one is able to: skip over entire identifiers with motions (e.g.,
`w/e/b`); yank/delete whole identifiers (e.g., `diw`); highlight/search
for the identifier under the cursor (`*`), etc.

More complicated LLVM identifiers including quotation marks are not
supported. The 'iskeyword' variable is just a list of characters, not a
regex, and including quotation marks and all the characters permitted in
quoted identifiers would expand the scope to almost everything and
become less usable. These types of identifiers are rare by comparison.

Note that this does change how words are considered across the entire
LLVM IR file, so including strings, comments, names, etc. Given that the
majority of editing/navigating LLVM IR is working with and across
values, this is arguably a worthwhile trade-off.</pre>
</div>
</content>
</entry>
<entry>
<title>[Utils][vim] Match more hexadecimal float constants (#99000)</title>
<updated>2024-07-17T09:12:46+00:00</updated>
<author>
<name>Fraser Cormack</name>
<email>fraser@codeplay.com</email>
</author>
<published>2024-07-17T09:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2e56497bf7b2c848b2c43ce8c64e585bc006240a'/>
<id>2e56497bf7b2c848b2c43ce8c64e585bc006240a</id>
<content type='text'>
The `0x[KLMHR]` syntax denotes different floating-point types: various
long doubles, half and bfloat.

See https://llvm.org/docs/LangRef.html#simple-constants for reference.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `0x[KLMHR]` syntax denotes different floating-point types: various
long doubles, half and bfloat.

See https://llvm.org/docs/LangRef.html#simple-constants for reference.</pre>
</div>
</content>
</entry>
<entry>
<title>[Utils][vim] Match vector 'splat' keyword (#99004)</title>
<updated>2024-07-17T09:12:02+00:00</updated>
<author>
<name>Fraser Cormack</name>
<email>fraser@codeplay.com</email>
</author>
<published>2024-07-17T09:12:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c597c0e691bb685a7b9ef01e3ccaad5e64a3e92'/>
<id>7c597c0e691bb685a7b9ef01e3ccaad5e64a3e92</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[RemoveDIs] Update syntax highlighting to include debug records (#93660)</title>
<updated>2024-05-30T11:17:37+00:00</updated>
<author>
<name>Stephen Tozer</name>
<email>stephen.tozer@sony.com</email>
</author>
<published>2024-05-30T11:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2705c605da2854a6b044fdf5978dea0472fd0ab1'/>
<id>2705c605da2854a6b044fdf5978dea0472fd0ab1</id>
<content type='text'>
This patch updates the emacs, vim, and vscode syntax highlighters to
recognize debug records.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updates the emacs, vim, and vscode syntax highlighters to
recognize debug records.</pre>
</div>
</content>
</entry>
<entry>
<title>[IR][AArch64][PAC] Add "ptrauth(...)" Constant to represent signed pointers. (#85738)</title>
<updated>2024-05-28T23:39:09+00:00</updated>
<author>
<name>Ahmed Bougacha</name>
<email>ahmed@bougacha.org</email>
</author>
<published>2024-05-28T23:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0edc97f119f3ac3ff96b11183fe5c001a48a9a8d'/>
<id>0edc97f119f3ac3ff96b11183fe5c001a48a9a8d</id>
<content type='text'>
This defines a new kind of IR Constant that represents a ptrauth signed
pointer, as used in AArch64 PAuth.

It allows representing most kinds of signed pointer constants used thus
far in the llvm ptrauth implementations, notably those used in the
Darwin and ELF ABIs being implemented for c/c++.  These signed pointer
constants are then lowered to ELF/MachO relocations.

These can be simply thought of as a constant `llvm.ptrauth.sign`, with
the interesting addition of discriminator computation: the `ptrauth`
constant can also represent a combined blend, when both address and
integer discriminator operands are used.  Both operands are otherwise
optional, with default values 0/null.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This defines a new kind of IR Constant that represents a ptrauth signed
pointer, as used in AArch64 PAuth.

It allows representing most kinds of signed pointer constants used thus
far in the llvm ptrauth implementations, notably those used in the
Darwin and ELF ABIs being implemented for c/c++.  These signed pointer
constants are then lowered to ELF/MachO relocations.

These can be simply thought of as a constant `llvm.ptrauth.sign`, with
the interesting addition of discriminator computation: the `ptrauth`
constant can also represent a combined blend, when both address and
integer discriminator operands are used.  Both operands are otherwise
optional, with default values 0/null.</pre>
</div>
</content>
</entry>
<entry>
<title>[vim] Fix command already exists on opening multiple mir buffers (#82410)</title>
<updated>2024-02-28T21:37:39+00:00</updated>
<author>
<name>Joe Nash</name>
<email>Sisyph@users.noreply.github.com</email>
</author>
<published>2024-02-28T21:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=caca8d33a9d5e6fe75980c4ae1cb13de2e460590'/>
<id>caca8d33a9d5e6fe75980c4ae1cb13de2e460590</id>
<content type='text'>
When using the vim syntax for mir, an error occurs in nvim  when opening
multiple .mir buffers. delcommand HiLink in the mir syntax file to avoid
the issue.

To reproduce:
Open an .mir file, for example
llvm/test/Codegen/X86/expand-post-ra-pseudo.mir
Open another mir file from within nvim, for example peephole.mir
```
Error detected while processing function 335[30]..&lt;SNR&gt;43_callback[25]..function 335[30]..&lt;SNR&gt;43_callback:                                                                                                                      
line   23:                                                                                                                                                                                                                       
Vim(command):E174: Command already exists: add ! to replace it: HiLink hi def link &lt;args&gt;   
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the vim syntax for mir, an error occurs in nvim  when opening
multiple .mir buffers. delcommand HiLink in the mir syntax file to avoid
the issue.

To reproduce:
Open an .mir file, for example
llvm/test/Codegen/X86/expand-post-ra-pseudo.mir
Open another mir file from within nvim, for example peephole.mir
```
Error detected while processing function 335[30]..&lt;SNR&gt;43_callback[25]..function 335[30]..&lt;SNR&gt;43_callback:                                                                                                                      
line   23:                                                                                                                                                                                                                       
Vim(command):E174: Command already exists: add ! to replace it: HiLink hi def link &lt;args&gt;   
```</pre>
</div>
</content>
</entry>
<entry>
<title>[vim] set commentstring (#71838)</title>
<updated>2023-11-27T22:46:09+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2023-11-27T22:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c0fe0719df457b0992606b0f2a235719a5bbfd54'/>
<id>c0fe0719df457b0992606b0f2a235719a5bbfd54</id>
<content type='text'>
I recently moved from using vim to lunarvim. I noticed that `gcc` (lol)
wasn't able to comment out lines, because commentstring is not set.

Thanks to Chase Colman for the suggestion in
https://github.com/LunarVim/LunarVim/issues/4394.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I recently moved from using vim to lunarvim. I noticed that `gcc` (lol)
wasn't able to comment out lines, because commentstring is not set.

Thanks to Chase Colman for the suggestion in
https://github.com/LunarVim/LunarVim/issues/4394.</pre>
</div>
</content>
</entry>
<entry>
<title>[TableGen] Update editor modes for new keywords and bang operators. (#68897)</title>
<updated>2023-10-19T07:31:59+00:00</updated>
<author>
<name>Francesco Petrogalli</name>
<email>francesco.petrogalli@apple.com</email>
</author>
<published>2023-10-19T07:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=416884544e0210c32c113f02c3d3881e78aac6a4'/>
<id>416884544e0210c32c113f02c3d3881e78aac6a4</id>
<content type='text'>
* `dump`, added in https://github.com/llvm/llvm-project/pull/68793
* `!repr`, added in https://github.com/llvm/llvm-project/pull/68716

The keyword `assert` was missing, so I have added that too.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `dump`, added in https://github.com/llvm/llvm-project/pull/68793
* `!repr`, added in https://github.com/llvm/llvm-project/pull/68716

The keyword `assert` was missing, so I have added that too.</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM] Add new attribute `optdebug` to optimize for debugging (#66632)</title>
<updated>2023-10-18T15:32:06+00:00</updated>
<author>
<name>Stephen Tozer</name>
<email>stephen.tozer@sony.com</email>
</author>
<published>2023-10-18T15:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=df3478e480b3b2e9fe125697b7931dc48b09e450'/>
<id>df3478e480b3b2e9fe125697b7931dc48b09e450</id>
<content type='text'>
This patch adds a new fn attribute, `optdebug`, that specifies that
optimizations should make decisions that prioritize debug info quality,
potentially at the cost of runtime performance.

This patch does not add any functional changes triggered by this
attribute, only the attribute itself. A subsequent patch will use this
flag to disable the post-RA scheduler.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a new fn attribute, `optdebug`, that specifies that
optimizations should make decisions that prioritize debug info quality,
potentially at the cost of runtime performance.

This patch does not add any functional changes triggered by this
attribute, only the attribute itself. A subsequent patch will use this
flag to disable the post-RA scheduler.</pre>
</div>
</content>
</entry>
</feed>
