f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
15 lines
649 B
C
15 lines
649 B
C
// 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"
|