[llvm] c3d4846 - [llvm-objdump] Require x86 target for mcpu/attr test

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 05:57:40 PST 2020


Author: David Spickett
Date: 2020-11-30T13:55:31Z
New Revision: c3d484673fa70bb4b2284689db76d36bbdf12f38

URL: https://github.com/llvm/llvm-project/commit/c3d484673fa70bb4b2284689db76d36bbdf12f38
DIFF: https://github.com/llvm/llvm-project/commit/c3d484673fa70bb4b2284689db76d36bbdf12f38.diff

LOG: [llvm-objdump] Require x86 target for mcpu/attr test

This fixes test failure on clang-cmake-armv7-quick bot
with change c2ead57ccf74900901fdda1cd0fbe9a7a0d1297a.

This bot only builds Arm/AArch64 targets.

Added: 
    

Modified: 
    llvm/test/tools/llvm-objdump/mattr-mcpu-help.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/mattr-mcpu-help.test b/llvm/test/tools/llvm-objdump/mattr-mcpu-help.test
index 4c3198b0fbfe..65c426008fd6 100644
--- a/llvm/test/tools/llvm-objdump/mattr-mcpu-help.test
+++ b/llvm/test/tools/llvm-objdump/mattr-mcpu-help.test
@@ -1,6 +1,7 @@
 # RUN: yaml2obj %s -o %t
 # RUN: llvm-objdump -d %t --mattr=help 2>&1 | FileCheck %s
 # RUN: llvm-objdump -d %t --mcpu=help 2>&1 | FileCheck %s
+# REQUIRES: x86-registered-target
 
 # CHECK: Available CPUs for this target:
 # CHECK: Available features for this target:


        


More information about the llvm-commits mailing list