llvm-project
aabae9dc - [Clang][CIR][AArch64] NFC: Cleanups in AArch64 builtins lowering (#184404)

Commit
2 days ago
[Clang][CIR][AArch64] NFC: Cleanups in AArch64 builtins lowering (#184404) This patch performs small cleanups and fixes in the AArch64 builtins lowering code, with the goal of aligning the CIR path more closely with the existing Clang CodeGen implementation. Changes include: * Make sure that `noundef` is consistently matched using `{{.*}}`. * Rename `AArch64BuiltinInfo` to `armVectorIntrinsicInfo` for better consistency with the original CodeGen implementation. * Simplify `emitAArch64CompareBuiltinExpr`, fix an incorrect assert condition (missing `!`) and make sure to use the input `kind` condition instead of hard-coding `cir::CmpOpKind::eq`. * Improve and clarify comments. No functional changes intended (NFC).
Author
Parents
Loading