[PATCH] D37106: [Driver][AArch64] Tests for rdm feature.
Chad Rosier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 24 06:23:29 PDT 2017
mcrosier created this revision.
Herald added subscribers: kristof.beyls, javed.absar, rengolin, aemerson.
Clang side of https://reviews.llvm.org/D37081.
Chad
https://reviews.llvm.org/D37106
Files:
test/Driver/aarch64-rdm.c
Index: test/Driver/aarch64-rdm.c
===================================================================
--- /dev/null
+++ test/Driver/aarch64-rdm.c
@@ -0,0 +1,9 @@
+// RUN: %clang -target aarch64-none-none-eabi -march=armv8a+rdm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s
+// RUN: %clang -target aarch64-none-none-eabi -mcpu=generic+rdm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s
+// RUN: %clang -target aarch64-none-none-eabi -mcpu=falkor -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s
+// RUN: %clang -target aarch64-none-none-eabi -mcpu=thunderx2t99 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RDM %s
+// CHECK-RDM: "-target-feature" "+rdm"
+
+// RUN: %clang -target aarch64-none-none-eabi -march=armv8a+nordm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORDM %s
+// RUN: %clang -target aarch64-none-none-eabi -mcpu=generic+nordm -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORDM %s
+// CHECK-NORDM: "-target-feature" "-rdm"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37106.112543.patch
Type: text/x-patch
Size: 975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170824/952279ec/attachment.bin>
More information about the cfe-commits
mailing list