[clang] [clang][CIR] Require x86 backend for cir-input-lower.cpp (PR #232669)

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 03:20:13 PDT 2026


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/232669

Fixes #232506

Relates to #232235

>From ae7c8622433efbd62784ccc508b6b2566fa53dce Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at arm.com>
Date: Fri, 16 Oct 2026 10:17:54 +0000
Subject: [PATCH] [clang][CIR] Require x86 backend for cir-input-lower.cpp

Fixes #232506

Relates to #232235
---
 clang/test/CIR/Input/cir-input-lower.cpp | 2 ++
 1 file changed, 2 insertions(+)

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