diff options
author | Eric Christopher <echristo@gmail.com> | 2017-03-20 21:12:53 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2017-03-20 21:12:53 +0000 |
commit | 74fa24ff279c51bc432cefbb26dbc753a16c1b51 (patch) | |
tree | fee161cfe190ba22d11ab95162f7a1aef1e6bfcc /clang/test/Driver/ppc-features.cpp | |
parent | d34a3631b272cce00301e70c89e651968e1a6588 (diff) | |
download | bcm5719-llvm-74fa24ff279c51bc432cefbb26dbc753a16c1b51.tar.gz bcm5719-llvm-74fa24ff279c51bc432cefbb26dbc753a16c1b51.zip |
Turn on HTM on power8 and later (including powerpc64le) since it's
available by default on those cpus and configurations.
llvm-svn: 298307
Diffstat (limited to 'clang/test/Driver/ppc-features.cpp')
-rw-r--r-- | clang/test/Driver/ppc-features.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/ppc-features.cpp b/clang/test/Driver/ppc-features.cpp index e32a51a8337..73a784f132d 100644 --- a/clang/test/Driver/ppc-features.cpp +++ b/clang/test/Driver/ppc-features.cpp @@ -151,6 +151,12 @@ // RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-vsx -mvsx -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-VSX %s // CHECK-VSX: "-target-feature" "+vsx" +// RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-htm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOHTM %s +// CHECK-NOHTM: "-target-feature" "-htm" + +// RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-htm -mhtm -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-HTM %s +// CHECK-HTM: "-target-feature" "+htm" + // RUN: %clang -target powerpc64-unknown-linux-gnu %s -mno-power8-vector -### -o %t.o 2>&1 | FileCheck -check-prefix=CHECK-NOP8VECTOR %s // CHECK-NOP8VECTOR: "-target-feature" "-power8-vector" |