Home | History | Annotate | Download | only in Driver
      1 // RUN: %clang -target arm-none-gnueabi -mrestrict-it -### %s 2> %t
      2 // RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s
      3 
      4 // RUN: %clang -target armv8a-none-gnueabi -mrestrict-it -### %s 2> %t
      5 // RUN: FileCheck --check-prefix=CHECK-RESTRICTED < %t %s
      6 
      7 // CHECK-RESTRICTED: "-backend-option" "-arm-restrict-it"
      8 
      9 // RUN: %clang -target arm-none-gnueabi -mno-restrict-it -### %s 2> %t
     10 // RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s
     11 
     12 // RUN: %clang -target armv8a-none-gnueabi -mno-restrict-it -### %s 2> %t
     13 // RUN: FileCheck --check-prefix=CHECK-NO-RESTRICTED < %t %s
     14 
     15 // CHECK-NO-RESTRICTED: "-backend-option" "-arm-no-restrict-it"
     16