[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / arm64_vcreate.c
blob2b6e8e44391677a5aa55e1af1c73ad8de2f12c7a
1 // RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -o - -emit-llvm %s | opt -S -passes=mem2reg | FileCheck %s
2 // Test ARM64 SIMD vcreate intrinsics
4 // REQUIRES: aarch64-registered-target || arm-registered-target
6 #include <arm_neon.h>
8 float32x2_t test_vcreate_f32(uint64_t a1) {
9 // CHECK: test_vcreate_f32
10 return vcreate_f32(a1);
11 // CHECK: bitcast {{.*}} to <2 x float>
12 // CHECK-NEXT: ret