[SVE] Add checks for no warnings in SVE tests
There are now quite a few SVE tests in LLVM and Clang that do not emit warnings related to invalid use of EVT::getVectorNumElements() and VectorType::getNumElements(). For these tests I have added additional checks that there are no warnings in order to prevent any future regressions. Differential Revision: https://reviews.llvm.org/D80712
This commit is contained in:
		
							parent
							
								
									ada4c9dc4a
								
							
						
					
					
						commit
						3cfd74e64b
					
				| 
						 | 
					@ -0,0 +1,11 @@
 | 
				
			||||||
 | 
					++ SVE ACLE Warnings ++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					When the ASM check lines fail in the SVE ACLE tests it most likely means you
 | 
				
			||||||
 | 
					have introduced a warning due to:
 | 
				
			||||||
 | 
					1. Adding an invalid call to VectorType::getNumElements() or EVT::getVectorNumElements()
 | 
				
			||||||
 | 
					   when the type is a scalable vector.
 | 
				
			||||||
 | 
					2. Relying upon an implicit cast conversion from TypeSize to uint64_t.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For generic code, please modify your code to work with ElementCount and TypeSize directly.
 | 
				
			||||||
 | 
					For target-specific code that only deals with fixed-width vectors, use the fixed-size interfaces.
 | 
				
			||||||
 | 
					Please refer to the code where those functions live for more details.
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,8 +1,13 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// REQUIRES: shell
 | 
					// REQUIRES: shell
 | 
				
			||||||
// RUN: rm -f -- "%S/acle_sve_adda.s"
 | 
					// RUN: rm -f -- "%S/acle_sve_adda.s"
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,10 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint64_t test_svcntb()
 | 
					uint64_t test_svcntb()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,10 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint64_t test_svcntd()
 | 
					uint64_t test_svcntd()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,10 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint64_t test_svcnth()
 | 
					uint64_t test_svcnth()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,10 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint64_t test_svcntp_b8(svbool_t pg, svbool_t op)
 | 
					uint64_t test_svcntp_b8(svbool_t pg, svbool_t op)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,10 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
uint64_t test_svcntw()
 | 
					uint64_t test_svcntw()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,10 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool test_svptest_any(svbool_t pg, svbool_t op)
 | 
					bool test_svptest_any(svbool_t pg, svbool_t op)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,11 @@
 | 
				
			||||||
 | 
					// REQUIRES: aarch64-registered-target
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s
 | 
				
			||||||
 | 
					// RUN: %clang_cc1 -D__ARM_FEATURE_SVE -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -o - %s >/dev/null 2>%t
 | 
				
			||||||
 | 
					// RUN: FileCheck --check-prefix=ASM --allow-empty %s <%t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// If this check fails please read test/CodeGen/aarch64-sve-intrinsics/README for instructions on how to resolve it.
 | 
				
			||||||
 | 
					// ASM-NOT: warning
 | 
				
			||||||
#include <arm_sve.h>
 | 
					#include <arm_sve.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef SVE_OVERLOADED_FORMS
 | 
					#ifdef SVE_OVERLOADED_FORMS
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
		Reference in New Issue