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 
6 // RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s
7 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s
8 // CHECK-HTM: "-target-feature" "+transactional-execution"
9 // CHECK-HTM-NOT: "-target-feature" "-transactional-execution"
10 
11 // RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s
12 // RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s
13 // CHECK-NOHTM: "-target-feature" "-transactional-execution"
14 // CHECK-NOHTM-NOT: "-target-feature" "+transactional-execution"
15 
16