-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[Clang] constexpr support for __builtin_convertvector and __builtin_shufflevector #107985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Comments
This is part of #46593. |
This was fixed by #76615 |
@llvm/issue-subscribers-clang-frontend Author: Nikolas Klauser (philnik777)
LanguageExtensions.rst claims that `__builtin_shufflevector` and `__builtin_convertvector` can be constant evaluated, but that's not reflected inside `Butiltins.td`.
|
@RKSimon No, it hasn't: https://godbolt.org/z/c3bTe5Y8E. This report is about the inconsistency that it's documented as such inside |
DanielCChen
pushed a commit
to DanielCChen/llvm-project
that referenced
this issue
Oct 16, 2024
…as `constexpr`. (llvm#112129) Closes llvm#107985. LanguageExtensions.rst states that `__builtin_shufflevector` and `__builtin_convertvector` can be evaluated as constants, but this is not reflected in Butiltins.td. This patch aligns these two.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LanguageExtensions.rst claims that
__builtin_shufflevector
and__builtin_convertvector
can be constant evaluated, but that's not reflected insideButiltins.td
.The text was updated successfully, but these errors were encountered: