// RUN: %clang -target arm-none-gnueabi -mrestrict-it -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s

// RUN: %clang -target armv8a-none-gnueabi -mrestrict-it -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s

// CHECK-RESTRICTED: "-backend-option" "-arm-restrict-it"

// RUN: %clang -target arm-none-gnueabi -mno-restrict-it -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s

// RUN: %clang -target armv8a-none-gnueabi -mno-restrict-it -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s

// CHECK-NO-RESTRICTED: "-backend-option" "-arm-no-restrict-it"

Add test case for r194593
Add test case for r194593


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