// RUN: %clang -target armv7-apple-darwin10 \
// RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s

// RUN: %clang -target arm64-apple-ios7 \
// RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s

// CHECK-NGM: "-mno-global-merge"

// RUN: %clang -target armv7-apple-darwin10 \
// RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s

// RUN: %clang -target arm64-apple-ios7 \
// RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s

// CHECK-GM-NOT: "-mglobal-merge"


// RUN: %clang -target armv7-apple-darwin10 \
// RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s

// RUN: %clang -target arm64-apple-ios7 \
// RUN:   -mno-global-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NGM < %t %s

// CHECK-NGM: "-mno-global-merge"

// RUN: %clang -target armv7-apple-darwin10 \
// RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s

// RUN: %clang -target arm64-apple-ios7 \
// RUN:   -mglobal-merge -### -fsyntax-only %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-GM < %t %s

// CHECK-GM-NOT: "-mglobal-merge"

// RUN: %clang -target armv7-apple-darwin10 \
// RUN:   -mno-global-merge -c %s

// RUN: %clang -target armv7-apple-darwin10 \
// RUN:   -mglobal-merge -c %s

--- 
+++ 
@@ -18,8 +18,3 @@
 
 // CHECK-GM-NOT: "-mglobal-merge"
 
-// RUN: %clang -target armv7-apple-darwin10 \
-// RUN:   -mno-global-merge -c %s
-
-// RUN: %clang -target armv7-apple-darwin10 \
-// RUN:   -mglobal-merge -c %s
Revert new test from 213993.

It requires an arm backend and also writes output in the test directory.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@213998 91177308-0d34-0410-b5e6-96231b3b80d8
