[clang] a60110b - [clang][CIR] Require x86 backend for cir-input-lower.cpp (#232669)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 16 03:21:08 PDT 2026
Author: David Spickett
Date: 2026-10-16T11:21:00+01:00
New Revision: a60110bb6bad9c475c3a01c2a1427d6b9600532d
URL: https://github.com/llvm/llvm-project/commit/a60110bb6bad9c475c3a01c2a1427d6b9600532d
DIFF: https://github.com/llvm/llvm-project/commit/a60110bb6bad9c475c3a01c2a1427d6b9600532d.diff
LOG: [clang][CIR] Require x86 backend for cir-input-lower.cpp (#232669)
Fixes #232506
Test fails on our CIR bot:
https://lab.llvm.org/buildbot/#/builders/242/builds/619
error: unable to create target: 'No available targets are compatible
with triple "x86_64-unknown-linux-gnu"'
Relates to #232235
Added:
Modified:
clang/test/CIR/Input/cir-input-lower.cpp
Removed:
################################################################################
diff --git a/clang/test/CIR/Input/cir-input-lower.cpp b/clang/test/CIR/Input/cir-input-lower.cpp
index 0459deed07c2d..4d1d25573d349 100644
--- a/clang/test/CIR/Input/cir-input-lower.cpp
+++ b/clang/test/CIR/Input/cir-input-lower.cpp
@@ -4,6 +4,8 @@
// idempotent; the code below exercises the calling convention, global
// constructor and TLS wrapper lowering.
+// REQUIRES: x86-registered-target
+
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t.direct.ll
More information about the cfe-commits
mailing list