[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / X86 / x86_64-mno-sse2.c
blobb3714d440f900e9630a4296e6c56d939bd7857d1
1 // RUN: %clang_cc1 -triple x86_64-linux -target-feature -sse2 -S -o /dev/null -verify %s
2 // REQUIRES: x86-registered-target
4 double f1(void) { // expected-error {{SSE2 register return with SSE2 disabled}}
5 return 1.4;
7 extern double g;
8 void f2(void) { // expected-error {{SSE2 register return with SSE2 disabled}}
9 g = f1();
11 void take_double(double);
12 void pass_double(void) {
13 // FIXME: Still asserts.
14 //take_double(1.5);
17 double return_double(void);
18 void call_double(double *a) { // expected-error {{SSE2 register return with SSE2 disabled}}
19 *a = return_double();