Add constraints for the test that require specific backend targets
to be registered.
Remove trailing whitespace in the doc.
Differential Revision: https://reviews.llvm.org/D63105
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363475
91177308-0d34-0410-b5e6-
96231b3b80d8
.. option:: --print-supported-cpus
- Print out a list of supported processors for the given target (specified
- through --target=<architecture> or -arch <architecture>). If no target is
+ Print out a list of supported processors for the given target (specified
+ through --target=<architecture> or -arch <architecture>). If no target is
specified, the system default target will be used.
.. option:: -march=<cpu>
// Test that the --print-supported-cpus flag works
+// REQUIRES: x86-registered-target
// RUN: %clang --target=x86_64-unknown-linux-gnu \
// RUN: --print-supported-cpus 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-X86
// CHECK-X86: corei7
// CHECK-X86: Use -mcpu or -mtune to specify the target's processor.
+// REQUIRES: arm-registered-target
// RUN: %clang --target=arm-unknown-linux-android \
// RUN: --print-supported-cpus 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ARM