Author: Andres-Salamanca Date: 2025-07-02T10:28:38-05:00 New Revision: ce99db9d1b8ab609575893fc8026143d9b4765c9
URL: https://github.com/llvm/llvm-project/commit/ce99db9d1b8ab609575893fc8026143d9b4765c9 DIFF: https://github.com/llvm/llvm-project/commit/ce99db9d1b8ab609575893fc8026143d9b4765c9.diff LOG: [CIR] Add mlir-translate to CMake (#146608) This PR adds the `mlir-translate` dependency to CIR. The following test was failing when running `ninja check-clang-cir`: ``` CIR/Lowering/stack-save-restore.cir line 2: mlir-translate: command not found ``` The failure occurred because `mlir-translate` was not being built as part of the CIR test dependencies. This PR ensures that the target is properly built so the test can run successfully. Added: Modified: clang/test/CMakeLists.txt Removed: ################################################################################ diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index 4f6568228e589..52cd28d4c4c5e 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -114,6 +114,7 @@ if(CLANG_ENABLE_CIR) list(APPEND CLANG_TEST_DEPS cir-opt cir-translate + mlir-translate ) endif() _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits