[PATCH] D37106: [Driver][AArch64] Tests for rdm feature.

Chad Rosier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 24 07:34:09 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL311660: [Driver][AArch64] Add tests for RDM feature. (authored by mcrosier).

Changed prior to commit:
  https://reviews.llvm.org/D37106?vs=112543&id=112559#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37106

Files:
  cfe/trunk/test/Driver/aarch64-rdm.c


Index: cfe/trunk/test/Driver/aarch64-rdm.c
===================================================================
--- cfe/trunk/test/Driver/aarch64-rdm.c
+++ cfe/trunk/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.112559.patch
Type: text/x-patch
Size: 1021 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170824/c58337bd/attachment.bin>


More information about the cfe-commits mailing list