diff options
Diffstat (limited to 'test/CodeGenCXX/x86_64-arguments-avx.cpp')
| -rw-r--r-- | test/CodeGenCXX/x86_64-arguments-avx.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGenCXX/x86_64-arguments-avx.cpp b/test/CodeGenCXX/x86_64-arguments-avx.cpp new file mode 100644 index 0000000000000..1b1c6420636e0 --- /dev/null +++ b/test/CodeGenCXX/x86_64-arguments-avx.cpp @@ -0,0 +1,15 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-feature +avx | FileCheck %s + +namespace test1 { +typedef double __m256d __attribute__((__vector_size__(32))); + +class PR22753 { +public: + __m256d data; +}; + +// CHECK: define <4 x double> @_ZN5test14testENS_7PR22753E(<4 x double> +PR22753 test(PR22753 x) { + return x; +} +} |
