diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-09-16 03:55:36 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-09-16 03:55:36 +0000 |
commit | 3f62af76b9fbaaa1877e98722571ae70fab49347 (patch) | |
tree | 4f527e31fd718e1bb584758f29146a34dc630fb4 /clang/test/CodeGen/sse-builtins.c | |
parent | b57d9c38a28e5f863912e3bf8e3d783abfc48aab (diff) | |
download | bcm5719-llvm-3f62af76b9fbaaa1877e98722571ae70fab49347.tar.gz bcm5719-llvm-3f62af76b9fbaaa1877e98722571ae70fab49347.zip |
test/CodeGen/sse-builtins.c: Make this host-independent to unbreak posix-unlike hosts.
Without -ffreestanding, clang tries to seek /usr/include/stdlib.h in host filesystem, even on Windows hosts.
llvm-svn: 139899
Diffstat (limited to 'clang/test/CodeGen/sse-builtins.c')
-rw-r--r-- | clang/test/CodeGen/sse-builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/sse-builtins.c b/clang/test/CodeGen/sse-builtins.c index a89c42e08a3..64ee4c970fe 100644 --- a/clang/test/CodeGen/sse-builtins.c +++ b/clang/test/CodeGen/sse-builtins.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -ffreestanding -triple i386-apple-darwin9 -target-cpu pentium4 -target-feature +sse4.1 -g -emit-llvm %s -o - | FileCheck %s #include <emmintrin.h> |