Skip to content

[Clang][X86] Replace F16C __builtin_ia32_vcvtph2ps/256 intrinsics with __builtin_convertvector #152749

@RKSimon

Description

@RKSimon

Similar to #152461, there doesn't appear to be any reason to have these when we can do the same with __builtin_shufflevector + __builtin_convertvector

This should also allow EmitX86CvtF16ToFloatExpr to be simplified as there will be fewer argument variants

Note this is just for PH2PS - not PS2PH which requires the rounding control immediate

Metadata

Metadata

Assignees

Labels

backend:X86clang:frontendLanguage frontend issues, e.g. anything involving "Sema"clang:headersHeaders provided by Clang, e.g. for intrinsicsgood first issuehttps://github.com/llvm/llvm-project/contribute

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions