[clang] [CIR] Fix a dependency problem in ABI test (PR #222717)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 10 10:47:54 PDT 2026


https://github.com/andykaylor updated https://github.com/llvm/llvm-project/pull/222717

>From b486823cb3616dbc5c9020c1f58597a138fdf3e7 Mon Sep 17 00:00:00 2001
From: Andy Kaylor <akaylor at nvidia.com>
Date: Thu, 10 Sep 2026 10:27:48 -0700
Subject: [PATCH] [CIR] Fix a dependency problem in ABI test

A recent change remove mlir-translate as a dependency of CIR and changed
tests to use cir-translate instead. One test was committed after that
change and missed the update.
---
 .../CIR/Transforms/abi-lowering/x86_64-struct-direct-offset.cir | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/CIR/Transforms/abi-lowering/x86_64-struct-direct-offset.cir b/clang/test/CIR/Transforms/abi-lowering/x86_64-struct-direct-offset.cir
index 585087886a09a..e0d450cb8b6a1 100644
--- a/clang/test/CIR/Transforms/abi-lowering/x86_64-struct-direct-offset.cir
+++ b/clang/test/CIR/Transforms/abi-lowering/x86_64-struct-direct-offset.cir
@@ -1,6 +1,6 @@
 // RUN: cir-opt %s -cir-call-conv-lowering=target=x86_64 | FileCheck %s --check-prefix=CIR
 // RUN: cir-opt %s -cir-call-conv-lowering=target=x86_64 -cir-to-llvm -o - 2>/dev/null \
-// RUN:   | mlir-translate -mlir-to-llvmir --allow-unregistered-dialect \
+// RUN:   | cir-translate -mlir-to-llvmir --allow-unregistered-dialect \
 // RUN:   | FileCheck %s --check-prefix=LLVM
 
 !u8i = !cir.int<u, 8>



More information about the cfe-commits mailing list