Skip to content

[Headers][X86] Allow pmuludq/pmuldq to be used in constexpr #153002

@RKSimon

Description

@RKSimon

Currently both of these are expanded in CodeGenFunction::EmitX86BuiltinExpr - there are a few options on what we do:

1 - add pmuldq/pmuludq handling to VectorExprEvaluator::VisitCallExpr similar to #152524
2 - remove the pmuldq/pmuludq / EmitX86Muldq expansion and replace it with a generic implementation in the headers directly - not sure how much worse the non-optimised expansion will be if we did this.

Metadata

Metadata

Assignees

Labels

backend:X86clang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:headersHeaders provided by Clang, e.g. for intrinsicsconstexprAnything related to constant evaluation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions