Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / aarch64-sve-intrinsics / acle_sve_undef3-bfloat.c
blob7705e25c1e916e8d262aed22638055099813c954
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -S -disable-O0-optnone -Werror -Wall -emit-llvm -o - %s | opt -S -passes=mem2reg,tailcallelim | FileCheck %s
3 // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -target-feature +bf16 -S -disable-O0-optnone -Werror -Wall -emit-llvm -o - -x c++ %s | opt -S -passes=mem2reg,tailcallelim | FileCheck %s -check-prefix=CPP-CHECK
5 // REQUIRES: aarch64-registered-target
7 #include <arm_sve.h>
9 // CHECK-LABEL: @test_svundef3_bf16(
10 // CHECK-NEXT: entry:
11 // CHECK-NEXT: ret <vscale x 24 x bfloat> undef
13 // CPP-CHECK-LABEL: @_Z18test_svundef3_bf16v(
14 // CPP-CHECK-NEXT: entry:
15 // CPP-CHECK-NEXT: ret <vscale x 24 x bfloat> undef
17 svbfloat16x3_t test_svundef3_bf16()
19 return svundef3_bf16();