-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
[Clang] constexpr support for __builtin_convertvector and __builtin_shufflevector #107985
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
Comments
github-actions
bot
added
the
clang
Clang issues not falling into any other category
label
Sep 10, 2024
This is part of #46593. |
This was fixed by #76615 |
EugeneZelenko
added
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
and removed
clang
Clang issues not falling into any other category
labels
Sep 22, 2024
@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: