Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit a3f55b0

Browse files
committed
Don't pass -O0 to clang_cc1, it is the default.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189910 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8cb1bf8 commit a3f55b0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+68
-68
lines changed

test/CodeGen/2007-02-25-C-DotDotDot.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 %s -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -emit-llvm -o - | FileCheck %s
22

33
// Make sure the call to foo is compiled as:
44
// call float @foo()

test/CodeGen/2007-05-07-PaddingElements.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// PR 1278
2-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | grep struct.s | not grep "4 x i8] zeroinitializer"
3-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | not grep "i32 0, i32 2"
2+
// RUN: %clang_cc1 %s -emit-llvm -o - | grep struct.s | not grep "4 x i8] zeroinitializer"
3+
// RUN: %clang_cc1 %s -emit-llvm -o - | not grep "i32 0, i32 2"
44
struct s {
55
double d1;
66
int s1;

test/CodeGen/2008-05-19-AlwaysInline.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | not grep sabrina
1+
// RUN: %clang_cc1 %s -emit-llvm -o - | not grep sabrina
22

33
static inline int sabrina (void) __attribute__((always_inline));
44
static inline int sabrina (void)

test/CodeGen/2008-08-07-AlignPadding2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* RUN: %clang_cc1 %s -emit-llvm -o - -O0 | grep zeroinitializer | count 1
1+
/* RUN: %clang_cc1 %s -emit-llvm -o - | grep zeroinitializer | count 1
22
33
The FE must not generate padding here between array elements. PR 2533. */
44

test/CodeGen/2010-01-18-Inlined-Debug.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// PR: 6058
2-
// RUN: %clang_cc1 -g -emit-llvm %s -O0 -o /dev/null
2+
// RUN: %clang_cc1 -g -emit-llvm %s -o /dev/null
33

44
static inline int foo(double) __attribute__ ((always_inline));
55
static inline int foo(double __x) { return __x; }

test/CodeGen/2010-03-5-LexicalScope.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -O0 -g %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
22
// CHECK: DW_TAG_lexical_block
33
// CHECK: DW_TAG_lexical_block
44
int foo(int i) {

test/CodeGen/2010-07-08-DeclDebugLineNo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -O0 -g %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
22
// Insure that dbg.declare lines for locals refer to correct line number records.
33
// Radar 8152866.
44
void foo() {

test/CodeGen/2010-08-12-asm-aggr-arg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s
1+
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
22
// Radar 8288710: A small aggregate can be passed as an integer. Make sure
33
// we don't get an error with "input constraint with a matching output
44
// constraint of incompatible type!"

test/CodeGen/attr-minsize.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -Oz -emit-llvm %s -o - | FileCheck %s -check-prefix=Oz
2-
// RUN: %clang_cc1 -O0 -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER
2+
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER
33
// RUN: %clang_cc1 -O1 -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER
44
// RUN: %clang_cc1 -O2 -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER
55
// RUN: %clang_cc1 -O3 -emit-llvm %s -o - | FileCheck %s -check-prefix=OTHER

test/CodeGen/available-externally-suppress.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -o - -O0 -triple x86_64-apple-darwin10 %s | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -o - -triple x86_64-apple-darwin10 %s | FileCheck %s
22

33
// Ensure that we don't emit available_externally functions at -O0.
44
int x;

test/CodeGen/bitfield-assign.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/* Check that we get one load for each simple assign and two for the
55
compound assign (load the old value before the add then load again
66
to store back). Also check that our g0 pattern is good. */
7-
// RUN: %clang_cc1 -triple i386-unknown-unknown -O0 -emit-llvm -o %t %s
7+
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o %t %s
88
// RUN: grep 'load ' %t | count 5
99
// RUN: grep "@g0" %t | count 4
1010

test/CodeGen/builtins-overflow.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Test CodeGen for Security Check Overflow Builtins.
22
// rdar://13421498
33

4-
// RUN: %clang_cc1 -triple "i686-unknown-unknown" -emit-llvm -x c %s -o - -O0 | FileCheck %s
5-
// RUN: %clang_cc1 -triple "x86_64-unknown-unknown" -emit-llvm -x c %s -o - -O0 | FileCheck %s
6-
// RUN: %clang_cc1 -triple "x86_64-mingw32" -emit-llvm -x c %s -o - -O0 | FileCheck %s
4+
// RUN: %clang_cc1 -triple "i686-unknown-unknown" -emit-llvm -x c %s -o - | FileCheck %s
5+
// RUN: %clang_cc1 -triple "x86_64-unknown-unknown" -emit-llvm -x c %s -o - | FileCheck %s
6+
// RUN: %clang_cc1 -triple "x86_64-mingw32" -emit-llvm -x c %s -o - | FileCheck %s
77

88
extern unsigned UnsignedErrorCode;
99
extern unsigned long UnsignedLongErrorCode;

test/CodeGen/implicit-arg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o -
1+
// RUN: %clang_cc1 %s -emit-llvm -o -
22
// RUN: %clang_cc1 %s -emit-llvm -O1 -o -
33
// rdar://6518089
44

test/CodeGen/libcalls-d.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
22
// and -fno-builtins shouldn't.
33
// -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
4-
// RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -O0 -o - | grep {call.*exp2\\.f64}
5-
// RUN: %clang_cc1 %s -emit-llvm -fmath-errno -O0 -o - | grep {call.*exp2}
4+
// RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -o - | grep {call.*exp2\\.f64}
5+
// RUN: %clang_cc1 %s -emit-llvm -fmath-errno -o - | grep {call.*exp2}
66
// RUN: %clang_cc1 %s -emit-llvm -O1 -o - | grep {call.*ldexp}
77
// RUN: %clang_cc1 %s -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2}
88

test/CodeGen/libcalls-ld.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// llvm-gcc -O1+ should run simplify libcalls, O0 shouldn't
22
// and -fno-builtins shouldn't.
33
// -fno-math-errno should emit an llvm intrinsic, -fmath-errno should not.
4-
// RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -O0 -o - | grep {call.*exp2\\..*f}
5-
// RUN: %clang_cc1 %s -emit-llvm -fmath-errno -O0 -o - | grep {call.*exp2l}
4+
// RUN: %clang_cc1 %s -emit-llvm -fno-math-errno -o - | grep {call.*exp2\\..*f}
5+
// RUN: %clang_cc1 %s -emit-llvm -fmath-errno -o - | grep {call.*exp2l}
66
// RUN: %clang_cc1 %s -emit-llvm -O1 -o - | grep {call.*ldexp}
77
// RUN: %clang_cc1 %s -emit-llvm -O3 -fno-builtin -o - | grep {call.*exp2l}
88

test/CodeGen/ms-inline-asm-64.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: x86-64-registered-target
2-
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -O0 -fasm-blocks -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s
33

44
void t1() {
55
int var = 10;

test/CodeGen/ms-inline-asm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: x86-64-registered-target
2-
// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -O0 -fasm-blocks -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s
33

44
void t1() {
55
// CHECK: @t1

test/CodeGen/ms-inline-asm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: x86-64-registered-target
2-
// RUN: %clang_cc1 -x c++ %s -triple i386-apple-darwin10 -O0 -fasm-blocks -emit-llvm -o - | FileCheck %s
2+
// RUN: %clang_cc1 -x c++ %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o - | FileCheck %s
33

44
// rdar://13645930
55

test/CodeGen/no-opt-volatile-memcpy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -O0 -triple=x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -triple=x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
22
// rdar://11861085
33

44
struct s {

test/CodeGen/ppc64-extend.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: ppc64-registered-target
2-
// RUN: %clang_cc1 -O0 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
33

44
void f1(int x) { return; }
55
// CHECK: define void @f1(i32 signext %x) [[NUW:#[0-9]+]]

test/CodeGen/ppc64-struct-onefloat.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: ppc64-registered-target
2-
// RUN: %clang_cc1 -O0 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu -emit-llvm -o - %s | FileCheck %s
33

44
typedef struct s1 { float f; } Sf;
55
typedef struct s2 { double d; } Sd;

test/CodeGen/pr3518.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s
1+
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
22
// PR 3518
33
// Some of the objects were coming out as unintialized (external) before 3518
44
// was fixed. Internal names are different between llvm-gcc and clang so they

test/CodeGen/pr4349.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | FileCheck %s
1+
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
22
// PR 4349
33

44
union reg

test/CodeGen/sret.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | grep sret | count 5
1+
// RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | count 5
22

33
struct abc {
44
long a;

test/CodeGen/sret2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -emit-llvm -O0 -o - | grep sret | count 2
1+
// RUN: %clang_cc1 %s -emit-llvm -o - | grep sret | count 2
22

33
struct abc {
44
long a;

test/CodeGen/switch-dce.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple i386-unknown-unknown -O0 %s -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
22

33
// PR9322 and rdar://6970405
44

test/CodeGen/tbaa-for-vptr.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %clang_cc1 -emit-llvm -o - -O0 -fsanitize=thread %s | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -o - -fsanitize=thread %s | FileCheck %s
22
// RUN: %clang_cc1 -emit-llvm -o - -O1 %s | FileCheck %s
33
// RUN: %clang_cc1 -emit-llvm -o - -O1 -relaxed-aliasing -fsanitize=thread %s | FileCheck %s
44
//
5-
// RUN: %clang_cc1 -emit-llvm -o - -O0 %s | FileCheck %s --check-prefix=NOTBAA
5+
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s --check-prefix=NOTBAA
66
// RUN: %clang_cc1 -emit-llvm -o - -O2 -relaxed-aliasing %s | FileCheck %s --check-prefix=NOTBAA
77
//
88
// Check that we generate TBAA for vtable pointer loads and stores.

test/CodeGen/vld_dup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: arm-registered-target
22
// RUN: %clang_cc1 -triple armv7a-linux-gnueabi \
33
// RUN: -target-cpu cortex-a8 \
4-
// RUN: -emit-llvm -O0 -o - %s | FileCheck %s
4+
// RUN: -emit-llvm -o - %s | FileCheck %s
55
#include <arm_neon.h>
66
int main(){
77
int32_t v0[3];

test/CodeGenCXX/2007-05-03-VectorInit.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm %s -O0 -o -
1+
// RUN: %clang_cc1 -emit-llvm %s -o -
22
// PR1378
33

44
typedef float v4sf __attribute__((vector_size(16)));

test/CodeGenCXX/2010-05-10-Var-DbgInfo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -O0 -g %s -o /dev/null
1+
// RUN: %clang_cc1 -emit-llvm -g %s -o /dev/null
22
// PR 7104
33

44
struct A {

test/CodeGenCXX/debug-info-decl-nested.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -std=c++11 -g -O0 -emit-llvm -g -triple x86_64-apple-darwin %s -o %t
1+
// RUN: %clang_cc1 -std=c++11 -g -emit-llvm -g -triple x86_64-apple-darwin %s -o %t
22
// RUN: cat %t | FileCheck %s -check-prefix=CHECK0
33
// RUN: cat %t | FileCheck %s -check-prefix=CHECK1
44
// RUN: cat %t | FileCheck %s -check-prefix=CHECK2

test/CodeGenCXX/debug-info-gline-tables-only.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -O0 -gline-tables-only -S -emit-llvm -o - | FileCheck %s
1+
// RUN: %clang_cc1 %s -gline-tables-only -S -emit-llvm -o - | FileCheck %s
22
// Checks that clang with "-gline-tables-only" doesn't emit debug info
33
// for variables and types.
44

test/CodeGenCXX/debug-info-static-member.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -target x86_64-unknown-unknown -g -O0 %s -emit-llvm -S -o - | FileCheck %s
1+
// RUN: %clangxx -target x86_64-unknown-unknown -g %s -emit-llvm -S -o - | FileCheck %s
22
// PR14471
33

44
enum X {

test/CodeGenCXX/init-invariant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -O0 -o - | FileCheck %s --check-prefix=CHECK-O0
1+
// RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -o - | FileCheck %s --check-prefix=CHECK-O0
22
// RUN: %clang_cc1 -triple i686-linux-gnu -emit-llvm %s -O1 -o - | FileCheck %s
33

44
// Check that we add an llvm.invariant.start to mark when a global becomes

test/CodeGenCXX/no-opt-volatile-memcpy.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -O0 -triple=x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -triple=x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
22
// rdar://11861085
33

44
struct s {

test/CodeGenCXX/pod-member-memcpys.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -std=c++03 -fexceptions -fcxx-exceptions -O0 -o - %s | FileCheck %s
2-
// RUN: %clang_cc1 -triple i386-apple-darwin10 -emit-llvm -std=c++03 -O0 -o - %s | FileCheck --check-prefix=CHECK-2 %s
1+
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -std=c++03 -fexceptions -fcxx-exceptions -o - %s | FileCheck %s
2+
// RUN: %clang_cc1 -triple i386-apple-darwin10 -emit-llvm -std=c++03 -o - %s | FileCheck --check-prefix=CHECK-2 %s
33

44
struct POD {
55
int w, x, y, z;

test/CodeGenCXX/return.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -O0 -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
22
// RUN: %clang_cc1 -emit-llvm -O -o - %s | FileCheck %s --check-prefix=CHECK-OPT
33

44
// CHECK: @_Z9no_return

test/CodeGenCXX/thiscall-struct-return.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For MSVC ABI compatibility, all structures returned by value using the
22
// thiscall calling convention must use the hidden parameter.
33
//
4-
// RUN: %clang_cc1 -triple i386-PC-Win32 %s -fms-compatibility -O0 -emit-llvm -o - | FileCheck %s
4+
// RUN: %clang_cc1 -triple i386-PC-Win32 %s -fms-compatibility -emit-llvm -o - | FileCheck %s
55

66
// This structure would normally be returned via EAX
77
struct S {

test/CodeGenCXX/vtable-available-externally.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -O0 -o %t
1+
// RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -o %t
22
// RUN: FileCheck --check-prefix=CHECK-TEST1 %s < %t
33
// RUN: FileCheck --check-prefix=CHECK-TEST2 %s < %t
44
// RUN: FileCheck --check-prefix=CHECK-TEST5 %s < %t

test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
22
// RUN: FileCheck --input-file=%t-32.layout %s
33
// rdar://12184410
44
// rdar://12752901

test/CodeGenObjC/arc-captured-32bit-block-var-layout.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
22
// RUN: FileCheck --input-file=%t-32.layout %s
33
// rdar://12184410
44
// rdar://12752901

test/CodeGenObjC/arc-captured-block-var-inlined-layout.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
22
// RUN: FileCheck --input-file=%t-64.layout %s
3-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
3+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
44
// RUN: FileCheck -check-prefix=CHECK-i386 --input-file=%t-32.layout %s
55
// rdar://12184410
66

test/CodeGenObjC/arc-captured-block-var-layout.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
22
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s
33
// rdar://12184410
44
// rdar://12752901

test/CodeGenObjC/arc-foreach.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -emit-llvm %s -o %t-64.s
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -emit-llvm %s -o %t-64.s
22
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
33
// rdar://9503326
44
// rdar://9606600

test/CodeGenObjC/arc-ivar-layout.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -S %s -o %t-64.s
1+
// RUN: %clang_cc1 -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -S %s -o %t-64.s
22
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
33
// REQUIRES: x86-64-registered-target
44
// rdar://8991729

test/CodeGenObjC/arc-no-arc-exceptions.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-optzns -o - %s | FileCheck %s
2-
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O0 -disable-llvm-optzns -o - %s | FileCheck -check-prefix=NO-METADATA %s
2+
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -disable-llvm-optzns -o - %s | FileCheck -check-prefix=NO-METADATA %s
33
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-optzns -o - %s -fobjc-arc-exceptions | FileCheck -check-prefix=NO-METADATA %s
44

55
// The front-end should emit clang.arc.no_objc_arc_exceptions in -fobjc-arc-exceptions

test/CodeGenObjC/block-byref-debuginfo.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -g -triple x86_64-apple-darwin -O0 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -g -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
22

33
// rdar://problem/14386148
44
// Test that the foo is aligned at an 8 byte boundary in the DWARF

test/CodeGenObjC/block-byref-variable-layout.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -emit-llvm %s -o - | FileCheck %s
1+
// RUN: %clang_cc1 -fblocks -fobjc-arc -fobjc-runtime-has-weak -triple x86_64-apple-darwin -emit-llvm %s -o - | FileCheck %s
22

33
// rdar://12759433
44
@class NSString;

test/CodeGenObjC/block-var-layout.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
1+
// RUN: %clang_cc1 -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
22
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.layout %s
33
// rdar://12752901
44

test/CodeGenObjC/debug-info-block-line.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: x86-64-registered-target
2-
// RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-default-synthesize-properties -fobjc-arc -O0 -g -triple x86_64-apple-darwin10 %s -o - | FileCheck %s
2+
// RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-default-synthesize-properties -fobjc-arc -g -triple x86_64-apple-darwin10 %s -o - | FileCheck %s
33

44
// rdar://11562117
55
typedef unsigned int NSUInteger;

test/CodeGenObjC/ivar-layout-array0-struct.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: x86-64-registered-target
2-
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
2+
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
33
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
44

55
// rdar://8800513

test/CodeGenObjC/ivar-layout-no-optimize.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: x86-64-registered-target
2-
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
2+
// RUN: %clang_cc1 -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
33
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
4-
// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -S %s -o %t-64.s
4+
// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -S %s -o %t-64.s
55
// RUN: FileCheck -check-prefix CHECK-LP64 --input-file=%t-64.s %s
66

77
@interface NSObject {

test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %clang_cc1 -fblocks -fobjc-runtime-has-weak -triple x86_64-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
1+
// RUN: %clang_cc1 -fblocks -fobjc-runtime-has-weak -triple x86_64-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
22
// RUN: FileCheck --input-file=%t-64.layout %s
3-
// RUN: %clang_cc1 -fblocks -fobjc-runtime-has-weak -triple i386-apple-darwin -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
3+
// RUN: %clang_cc1 -fblocks -fobjc-runtime-has-weak -triple i386-apple-darwin -print-ivar-layout -emit-llvm -o /dev/null %s > %t-32.layout
44
// RUN: FileCheck -check-prefix=CHECK-i386 --input-file=%t-32.layout %s
55
// rdar://12184410
66
// rdar://12184410

test/CodeGenObjCXX/arc-attrs.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fobjc-arc -O0 -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -emit-llvm -fobjc-arc -o - %s | FileCheck %s
22

33
id makeObject1() __attribute__((ns_returns_retained));
44
id makeObject2() __attribute__((ns_returns_retained));

test/CodeGenObjCXX/block-var-layout.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -x objective-c++ -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -O0 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
1+
// RUN: %clang_cc1 -x objective-c++ -fblocks -fobjc-gc -triple x86_64-apple-darwin -fobjc-runtime=macosx-fragile-10.5 -print-ivar-layout -emit-llvm -o /dev/null %s > %t-64.layout
22
// RUN: FileCheck --input-file=%t-64.layout %s
33
// rdar://12184410
44
// rdar://12752901

test/CodeGenOpenCL/kernel-attributes.cl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -O0 -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
22

33
typedef unsigned int uint4 __attribute__((ext_vector_type(4)));
44

0 commit comments

Comments
 (0)