Skip to content

[Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add MMX/SSE/AVX2 PSIGN intrinsics to be used in constexpr #155812

@RKSimon

Description

@RKSimon

Similar to #152524 - add handling for __builtin_ia32_psignd to VectorExprEvaluator::VisitCallExpr and InterBuiltin.cpp

_mm_sign_pi8  _mm_sign_epi8  _mm256_sign_epi8
_mm_sign_pi16 _mm_sign_epi16 _mm256_sign_epi16
_mm_sign_pi32 _mm_sign_epi32 _mm256_sign_epi32

Metadata

Metadata

Assignees

Labels

backend:X86clang:bytecodeIssues for the clang bytecode constexpr interpreterclang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:headersHeaders provided by Clang, e.g. for intrinsicsconstexprAnything related to constant evaluationgood first issuehttps://github.com/llvm/llvm-project/contribute

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions