diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-25 21:24:35 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-25 21:24:35 +0000 |
commit | b32d19de6ac85560267e40a65b12f6ccea26f3b3 (patch) | |
tree | 7bad54096c3da4f4edf7b89ffa4dbbd8d8cd5648 /llvm/test/FrontendC/libcalls-d.c | |
parent | 2b5243d096ce2b7763cfd3a1c72f75a0443a50e6 (diff) | |
download | bcm5719-llvm-b32d19de6ac85560267e40a65b12f6ccea26f3b3.tar.gz bcm5719-llvm-b32d19de6ac85560267e40a65b12f6ccea26f3b3.zip |
Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically. Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).
llvm-svn: 120158
Diffstat (limited to 'llvm/test/FrontendC/libcalls-d.c')
-rw-r--r-- | llvm/test/FrontendC/libcalls-d.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/FrontendC/libcalls-d.c b/llvm/test/FrontendC/libcalls-d.c index 126866ad629..d92208d89ed 100644 --- a/llvm/test/FrontendC/libcalls-d.c +++ b/llvm/test/FrontendC/libcalls-d.c @@ -1,10 +1,10 @@ // llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't // and -fno-builtins shouldn't. // -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not. -// RUN: %llvmgcc %s -S -fno-math-errno -emit-llvm -O0 -o - | grep {call.*exp2\\.f64} -// RUN: %llvmgcc %s -S -fmath-errno -emit-llvm -O0 -o - | grep {call.*exp2} -// RUN: %llvmgcc %s -S -emit-llvm -O1 -o - | grep {call.*ldexp} -// RUN: %llvmgcc %s -S -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2} +// RUN: %llvmgcc %s -S -fno-math-errno -O0 -o - | grep {call.*exp2\\.f64} +// RUN: %llvmgcc %s -S -fmath-errno -O0 -o - | grep {call.*exp2} +// RUN: %llvmgcc %s -S -O1 -o - | grep {call.*ldexp} +// RUN: %llvmgcc %s -S -O3 -fno-builtin -o - | grep {call.*exp2} double exp2(double); |