<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/AST/ExprConstant.cpp, branch main</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>[Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX512 VPSHUFBITQMB intrinsics to be used in constexpr (#168100)</title>
<updated>2025-11-22T17:19:27+00:00</updated>
<author>
<name>NagaChaitanya Vellanki</name>
<email>pnagato@protonmail.com</email>
</author>
<published>2025-11-22T17:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=456ca91815c3fdb60b5ca695c8bb05b75016a343'/>
<id>456ca91815c3fdb60b5ca695c8bb05b75016a343</id>
<content type='text'>
Resolves #161337</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves #161337</pre>
</div>
</content>
</entry>
<entry>
<title> [Clang][X86] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow VPERMILPD/S variable mask intrinsics to be used in constexpr (#168861)</title>
<updated>2025-11-22T14:37:50+00:00</updated>
<author>
<name>stomfaig</name>
<email>55883018+stomfaig@users.noreply.github.com</email>
</author>
<published>2025-11-22T14:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2e424deeb6180d112323f4df955c8034eb56780c'/>
<id>2e424deeb6180d112323f4df955c8034eb56780c</id>
<content type='text'>
Allowing VPERMILPD/S intrinsics to be used in constexpr

Closes #167878</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allowing VPERMILPD/S intrinsics to be used in constexpr

Closes #167878</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][X86] Allow VALIGND/Q element-shift intrinsics in constexpr evaluation (#168206)</title>
<updated>2025-11-22T11:53:34+00:00</updated>
<author>
<name>Muhammad Abdul</name>
<email>alilo.ghazali@gmail.com</email>
</author>
<published>2025-11-22T11:53:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7305b6eb5458b5cea62b3ab70da95b790cf988f3'/>
<id>7305b6eb5458b5cea62b3ab70da95b790cf988f3</id>
<content type='text'>
Fixes #167681</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #167681</pre>
</div>
</content>
</entry>
<entry>
<title>[X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX512 mask predicate intrinsics to be used in constexpr (#165054)</title>
<updated>2025-11-20T11:25:23+00:00</updated>
<author>
<name>sskzakaria</name>
<email>ssskzakaria@proton.me</email>
</author>
<published>2025-11-20T11:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a2b4c0fbe03896ee5a9218e1ec6e4184de6ed4be'/>
<id>a2b4c0fbe03896ee5a9218e1ec6e4184de6ed4be</id>
<content type='text'>
Enables constexpr evaluation for the following AVX512 Instrinsics:
```
_mm_movepi8_mask _mm256_movepi8_mask _mm512_movepi8_mask
_mm_movepi16_mask _mm256_movepi16_mask _mm512_movepi16_mask
_mm_movepi32_mask _mm256_movepi32_mask _mm512_movepi32_mask
_mm_movepi64_mask _mm256_movepi64_mask _mm512_movepi64_mask
```
Part of #162072</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enables constexpr evaluation for the following AVX512 Instrinsics:
```
_mm_movepi8_mask _mm256_movepi8_mask _mm512_movepi8_mask
_mm_movepi16_mask _mm256_movepi16_mask _mm512_movepi16_mask
_mm_movepi32_mask _mm256_movepi32_mask _mm512_movepi32_mask
_mm_movepi64_mask _mm256_movepi64_mask _mm512_movepi64_mask
```
Part of #162072</pre>
</div>
</content>
</entry>
<entry>
<title>[Clang][X86] allow VPERMILPD/S imm intrinsics to be used in constexpr (#168044)</title>
<updated>2025-11-19T11:50:16+00:00</updated>
<author>
<name>stomfaig</name>
<email>55883018+stomfaig@users.noreply.github.com</email>
</author>
<published>2025-11-19T11:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=50791c3a708123ef75808e73a81d7d2e759f6f9b'/>
<id>50791c3a708123ef75808e73a81d7d2e759f6f9b</id>
<content type='text'>
Resolves #166529
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves #166529
</pre>
</div>
</content>
</entry>
<entry>
<title>[AllocToken] Fix and clarify -falloc-token-max=0 (#168689)</title>
<updated>2025-11-19T11:15:15+00:00</updated>
<author>
<name>Marco Elver</name>
<email>elver@google.com</email>
</author>
<published>2025-11-19T11:15:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=150053627d14679f3db52d78b640a3e8781de828'/>
<id>150053627d14679f3db52d78b640a3e8781de828</id>
<content type='text'>
The option -falloc-token-max=0 is supposed to be usable to override
previous settings back to the target default max tokens (SIZE_MAX).

This did not work for the builtin:
```
| executed command: clang -cc1 [..] -nostdsysteminc -triple x86_64-linux-gnu -std=c++23 -fsyntax-only -verify clang/test/SemaCXX/alloc-token.cpp -falloc-token-max=0
| clang: llvm/lib/Support/AllocToken.cpp:38: std::optional&lt;uint64_t&gt; llvm::getAllocToken(AllocTokenMode, const AllocTokenMetadata &amp;, uint64_t): Assertion `MaxTokens &amp;&amp; "Must provide non-zero max tokens"' failed.
```

Fix it by also picking the default if "0" is passed.

Improve the documentation to be clearer what the value of "0" means.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The option -falloc-token-max=0 is supposed to be usable to override
previous settings back to the target default max tokens (SIZE_MAX).

This did not work for the builtin:
```
| executed command: clang -cc1 [..] -nostdsysteminc -triple x86_64-linux-gnu -std=c++23 -fsyntax-only -verify clang/test/SemaCXX/alloc-token.cpp -falloc-token-max=0
| clang: llvm/lib/Support/AllocToken.cpp:38: std::optional&lt;uint64_t&gt; llvm::getAllocToken(AllocTokenMode, const AllocTokenMetadata &amp;, uint64_t): Assertion `MaxTokens &amp;&amp; "Must provide non-zero max tokens"' failed.
```

Fix it by also picking the default if "0" is passed.

Improve the documentation to be clearer what the value of "0" means.</pre>
</div>
</content>
</entry>
<entry>
<title>[Headers][X86] Allow AVX512 masked arithmetic ss/sd intrinsics to be used in constexpr (#162816)</title>
<updated>2025-11-18T10:23:39+00:00</updated>
<author>
<name>woruyu</name>
<email>1214539920@qq.com</email>
</author>
<published>2025-11-18T10:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f9256ca6cc8636347a73c028a1e30596aa27ac89'/>
<id>f9256ca6cc8636347a73c028a1e30596aa27ac89</id>
<content type='text'>
This PR just resolves ss/sd part of AVX512 masked arithmetic intrinsics of #160559.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR just resolves ss/sd part of AVX512 masked arithmetic intrinsics of #160559.
</pre>
</div>
</content>
</entry>
<entry>
<title>[X86] Add constexpr support for addsub intrinsics  (#167512)</title>
<updated>2025-11-17T15:34:34+00:00</updated>
<author>
<name>Ahmed Nour</name>
<email>ahmednour.mohamed2012@gmail.com</email>
</author>
<published>2025-11-17T15:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=47c1aa4cef638c97b74f3afb7bed60e92bba1f90'/>
<id>47c1aa4cef638c97b74f3afb7bed60e92bba1f90</id>
<content type='text'>
Recent commits (7fe069121b57a, 53ddeb493529a) marked several x86
intrinsics as constexpr in headers without providing the necessary
constant evaluation support in the compiler backend. This caused
compilation failures when attempting to use these intrinsics in constant
expressions.

Resolves #166814 
Resolves #161203
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recent commits (7fe069121b57a, 53ddeb493529a) marked several x86
intrinsics as constexpr in headers without providing the necessary
constant evaluation support in the compiler backend. This caused
compilation failures when attempting to use these intrinsics in constant
expressions.

Resolves #166814 
Resolves #161203
</pre>
</div>
</content>
</entry>
<entry>
<title>[X86][Clang] Add AVX512 kunpck intrinsics to be used in constexp (#167683)</title>
<updated>2025-11-17T10:06:50+00:00</updated>
<author>
<name>Ahmed Nour</name>
<email>ahmednour.mohamed2012@gmail.com</email>
</author>
<published>2025-11-17T10:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=44f72fb39c833a8d53f433c6a03e88c81534c83e'/>
<id>44f72fb39c833a8d53f433c6a03e88c81534c83e</id>
<content type='text'>
Resolves #166976</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves #166976</pre>
</div>
</content>
</entry>
<entry>
<title>[Clang] Add __builtin_bswapg (#162433)</title>
<updated>2025-11-15T20:27:38+00:00</updated>
<author>
<name>clf</name>
<email>53817093+clingfei@users.noreply.github.com</email>
</author>
<published>2025-11-15T20:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f210fc1a1ca611e9584478a50ed32011ba210c8f'/>
<id>f210fc1a1ca611e9584478a50ed32011ba210c8f</id>
<content type='text'>
Add a new builtin function __builtin_bswapg. It works on any integral
types that has a multiple of 16 bits as well as a single byte.

Closes #160266</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new builtin function __builtin_bswapg. It works on any integral
types that has a multiple of 16 bits as well as a single byte.

Closes #160266</pre>
</div>
</content>
</entry>
</feed>
