-Added support for existing IP for vcvta_u16_f16 instrinsic for Armv8.2A
-CGBuiltin simply adds cases for this intrinsic to gen the clang IR
-tests added for AArch64 and Arm test suites
-tested and works using ninja check
Details
Details
- Reviewers
SjoerdMeijer javed.absar
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
Nits title:
- Think you can simplify the title to something along the lines of: "[AArch64] Support the FP16 VCVTA_U16 intrinsic". No need to mention tests are added in the subject (tests should always be added).
Nits summary:
- Arm v8.2a -> Armv8.2-A
- Aarch64 -> AArch64
- No need to mention "tested and works using ninja check"; this is obvious and should always be done.
- This is a bit vague: "Added support for existing IP". I think you can reduce the summary to just: "Added support for the vcvta_u16_f16 instrinsic for FP16 Armv8.2-A"
CodeGen/arm-v8.2a-neon-intrinsics.c | ||
---|---|---|
170 | Is this exactly the same test also added in aarch64-v8.2a-neon-intrinsics.c? |
Comment Actions
address Nit's and code comments, please see above.
CodeGen/arm-v8.2a-neon-intrinsics.c | ||
---|---|---|
170 | Not that I'm aware. One is for AArch platforms and the other is Arm. see the second CHECK line of each |
Comment Actions
Thanks. Looks like a straightforward fix to me.
CodeGen/arm-v8.2a-neon-intrinsics.c | ||
---|---|---|
170 | Ah, of course, my bad. Looked too quickly. |
Is this exactly the same test also added in aarch64-v8.2a-neon-intrinsics.c?