1 | // RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | opt -S -mem2reg | FileCheck %s |
---|---|
2 | // Test ARM64 SIMD vcreate intrinsics |
3 | |
4 | #include <arm_neon.h> |
5 | |
6 | float32x2_t test_vcreate_f32(uint64_t a1) { |
7 | // CHECK: test_vcreate_f32 |
8 | return vcreate_f32(a1); |
9 | // CHECK: bitcast {{.*}} to <2 x float> |
10 | // CHECK-NEXT: ret |
11 | } |
12 |