From ff7cea8c1ada07d68adbeb86313d884f6e3f91f1 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 4 Sep 2013 04:12:25 +0000 Subject: Don't pass -O0 to clang_cc1, it is the default. llvm-svn: 189910 --- clang/test/CodeGen/libcalls-ld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGen/libcalls-ld.c') diff --git a/clang/test/CodeGen/libcalls-ld.c b/clang/test/CodeGen/libcalls-ld.c index 2758761b5ee..dfa7835d6b7 100644 --- a/clang/test/CodeGen/libcalls-ld.c +++ b/clang/test/CodeGen/libcalls-ld.c @@ -1,8 +1,8 @@ // 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: %clang_cc1 %s -emit-llvm -fno-math-errno -O0 -o - | grep {call.*exp2\\..*f} -// RUN: %clang_cc1 %s -emit-llvm -fmath-errno -O0 -o - | grep {call.*exp2l} +// RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -o - | grep {call.*exp2\\..*f} +// RUN: %clang_cc1 %s -emit-llvm -fmath-errno -o - | grep {call.*exp2l} // RUN: %clang_cc1 %s -emit-llvm -O1 -o - | grep {call.*ldexp} // RUN: %clang_cc1 %s -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2l} -- cgit v1.2.3