llvm-project
c9e2c308 - [CIR][AArc64] Add lowering for fp16 intrinsics (step + rounding) (#207511)

Commit
149 days ago
[CIR][AArc64] Add lowering for fp16 intrinsics (step + rounding) (#207511) This PR adds lowering for the following intrinsic groups: * https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#markdown-toc-reciprocal-step It also adds FP16 tests for these intrinsics (implemented in #195021 without tests): * https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#markdown-toc-rounding-1 It also moves the corresponding tests from: * clang/test/CodeGen/AArch64/v8.2a-fp16-intrinsics.c to: * clang/test/CodeGen/AArch64/neon/fullfp16.c The lowering follows the existing implementation in CodeGen/TargetBuiltins/ARM.cpp.
Author
Parents
Loading