mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 09:36:06 +00:00

This reverts commit 4817b7729a1846b709ec02b98bfe11b0125f8e8f. It caused some `^/\n` and had some objection about its readability improvement.
27 lines
1.7 KiB
C++
27 lines
1.7 KiB
C++
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-DEFAULT %s
|
|
// CHECK-DEFAULT-NOT: "-target-feature" "+transactional-execution"
|
|
// CHECK-DEFAULT-NOT: "-target-feature" "-transactional-execution"
|
|
// CHECK-DEFAULT-NOT: "-target-feature" "+vector"
|
|
// CHECK-DEFAULT-NOT: "-target-feature" "-vector"
|
|
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s
|
|
// CHECK-HTM: "-target-feature" "+transactional-execution"
|
|
// CHECK-HTM-NOT: "-target-feature" "-transactional-execution"
|
|
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mhtm -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s
|
|
// CHECK-NOHTM: "-target-feature" "-transactional-execution"
|
|
// CHECK-NOHTM-NOT: "-target-feature" "+transactional-execution"
|
|
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mvx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VX %s
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mno-vx -mvx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VX %s
|
|
// CHECK-VX: "-target-feature" "+vector"
|
|
// CHECK-VX-NOT: "-target-feature" "-vector"
|
|
//
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mno-vx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOVX %s
|
|
// RUN: %clang -target s390x-unknown-linux-gnu %s -mvx -mno-vx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOVX %s
|
|
// CHECK-NOVX: "-target-feature" "-vector"
|
|
// CHECK-NOVX-NOT: "-target-feature" "+vector"
|