llvm-project
fda19b91 - [CIR] Add additional NYI checks for SVE builtins (#175575)

Commit
109 days ago
[CIR] Add additional NYI checks for SVE builtins (#175575) This change extends the NYI checks recently introduced in #174433 by adding further validation of SVE builtin type modifiers. For example: ```cpp SVETypeFlags typeFlags(builtinIntrInfo->typeModifier); // Unsupported flag — bail out if (typeFlags.someFlag()) cgm.errorNYI(); ``` The newly added checks mirror the logic in CodeGen/TargetBuiltins/ARM.cpp, specifically in: * `CodeGenFunction::EmitAArch64SVEBuiltinExpr`, which defines the default code-generation path for SVE builtins. This change helps ensure CIR rejects unsupported cases early and provides skeleton for future PRs in which we will be adding support for the missing builtins.
Author
Parents
Loading