From 1876a89b259b04af28ca0ffbcff36d5e9e2eb71a Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 26 Mar 2025 19:05:33 +0000 Subject: [PATCH] [llvm-exegesis] Require RISCV Target for new test This test was causing buildbot failures because it requires both the RISCV and X86 targets to be enabled to run successfully. It already requires the X86 target by virtue of being in the X86/ test directory, but failed to require the RISCV target, which this patch corrects. --- .../llvm-exegesis/X86/mcpu_not_set_during_cross_compilation.s | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/test/tools/llvm-exegesis/X86/mcpu_not_set_during_cross_compilation.s b/llvm/test/tools/llvm-exegesis/X86/mcpu_not_set_during_cross_compilation.s index f2a4e51552eb..a33483570201 100644 --- a/llvm/test/tools/llvm-exegesis/X86/mcpu_not_set_during_cross_compilation.s +++ b/llvm/test/tools/llvm-exegesis/X86/mcpu_not_set_during_cross_compilation.s @@ -1,3 +1,4 @@ # RUN: not llvm-exegesis -mtriple=riscv64-unknown-linux-gnu -mode=latency --benchmark-phase=assemble-measured-code -opcode-name=ADD 2>&1 | FileCheck %s +# REQUIRES: riscv-registered-target # CHECK: llvm-exegesis error: A CPU must be explicitly specified when cross compiling. To see all possible options for riscv64-unknown-linux-gnu triple use -mcpu=help