Skip to content

[Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow insertps intrinsic to be used in constexp #165161

@RKSimon

Description

@RKSimon

A small extension to #164078's interp__builtin_ia32_shuffle_generic/evalShuffleGeneric callback should allow us to handle SSE41 _mm_insert_ps / __builtin_ia32_insertps128 intrinsics - the main new feature that it will require is to set vector element results to zero based of the insertps zero mask.

Metadata

Metadata

Labels

backend:X86clang:bytecodeIssues for the clang bytecode constexpr interpreterclang: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