2013-11-14 05:40:17 +08:00
|
|
|
// 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
|
|
|
|
|
2018-04-13 06:21:36 +08:00
|
|
|
// CHECK-RESTRICTED: "-mllvm" "-arm-restrict-it"
|
2013-11-14 05:40:17 +08:00
|
|
|
|
|
|
|
// 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
|
|
|
|
|
2018-04-13 06:21:36 +08:00
|
|
|
// CHECK-NO-RESTRICTED: "-mllvm" "-arm-no-restrict-it"
|