Skip to content

[CIR][CIRGen][Builtin] Support __builtin_elementwise_abs with vector of floating type #1174

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

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

ghehg
Copy link
Contributor

@ghehg ghehg commented Nov 27, 2024

PR1132 implements missing feature fpUnaryOPsSupportVectorType, so revisit this code.

One another thing changed is that I stopped using cir::isAnyFloatingPointType as it contains types like long double and FP80 which are not supported by the builtin's signature

@ghehg ghehg marked this pull request as ready for review November 27, 2024 13:44
@bcardosolopes bcardosolopes merged commit cb4c940 into llvm:main Nov 27, 2024
9 checks passed
lanza pushed a commit that referenced this pull request Mar 18, 2025
…of floating type (#1174)

[PR1132](#1132) implements missing
feature `fpUnaryOPsSupportVectorType`, so revisit this code.

One another thing changed is that I stopped using
`cir::isAnyFloatingPointType` as it contains types like long double and
FP80 which are not supported by the [builtin's
signature](https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants