Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / X86 / x86_64-mno-sse.c
blob43a695ae3cd3d956dbc0911faa31b4977abe2234
1 // RUN: %clang_cc1 -triple x86_64-linux -target-feature -sse -target-feature -sse2 -S -o /dev/null -verify %s
2 // REQUIRES: x86-registered-target
4 double f1(void) { // expected-error {{SSE register return with SSE disabled}}
5 return 1.4;
7 extern double g;
8 void f2(void) { // expected-error {{SSE register return with SSE disabled}}
9 g = f1();
11 void take_double(double);
12 void pass_double(void) {
13 // FIXME: Still asserts.
14 //take_double(1.5);