Home | History | Annotate | Download | only in Driver
      1 
      2 // RUN: %clang -target s390x-unknown-linux-gnu %s -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-DEFAULT %s
      3 // CHECK-DEFAULT-NOT: "-target-feature" "+transactional-execution"
      4 // CHECK-DEFAULT-NOT: "-target-feature" "-transactional-execution"
      5 // CHECK-DEFAULT-NOT: "-target-feature" "+vector"
      6 // CHECK-DEFAULT-NOT: "-target-feature" "-vector"
      7 
      8 // RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s
      9 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s
     10 // CHECK-HTM: "-target-feature" "+transactional-execution"
     11 // CHECK-HTM-NOT: "-target-feature" "-transactional-execution"
     12 
     13 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s
     14 // RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s
     15 // CHECK-NOHTM: "-target-feature" "-transactional-execution"
     16 // CHECK-NOHTM-NOT: "-target-feature" "+transactional-execution"
     17 
     18 // RUN: %clang -target s390x-unknown-linux-gnu %s -mvx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VX %s
     19 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-vx -mvx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VX %s
     20 // CHECK-VX: "-target-feature" "+vector"
     21 // CHECK-VX-NOT: "-target-feature" "-vector"
     22 //
     23 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-vx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOVX %s
     24 // RUN: %clang -target s390x-unknown-linux-gnu %s -mvx -mno-vx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOVX %s
     25 // CHECK-NOVX: "-target-feature" "-vector"
     26 // CHECK-NOVX-NOT: "-target-feature" "+vector"
     27