Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / arm64_vcreate.c
blob291ba4de92c13858c074959787513b6c518e497c
1 // RUN: %clang_cc1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -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