clang/test/CodeGen/arm-poly64.c
raw| 1 | // RUN: %clang_cc1 -triple armv8.2a-arm-none-eabi -target-feature +neon \ |
| 2 | // RUN: -emit-llvm -o - %s | FileCheck %s |
| 3 | |
| 4 | // Test that we can use the poly64 type on AArch32 |
| 5 | |
| 6 | // REQUIRES: aarch64-registered-target || arm-registered-target |
| 7 | |
| 8 | #include <arm_neon.h> |
| 9 | |
| 10 | // CHECK-LABEL: @test_poly64 |
| 11 | // CHECK: ret i64 %0 |
| 12 | poly64_t test_poly64(poly64_t a) { |
| 13 | return a; |
| 14 | } |