Tim Northover | 5867297 | 2016-03-09 18:54:42 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | opt -S -mem2reg | FileCheck %s |
Tim Northover | a2ee433 | 2014-03-29 15:09:45 +0000 | [diff] [blame] | 2 | // Test ARM64 SIMD vcreate intrinsics |
| 3 | |
Tim Northover | a2ee433 | 2014-03-29 15:09:45 +0000 | [diff] [blame] | 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 | } |