[all-commits] [llvm/llvm-project] 362194: [CIR] Register only the LLVM IR translations CIR l...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 7 13:10:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 362194cb4c7e61949d54dfd89b05442a11da25b8
      https://github.com/llvm/llvm-project/commit/362194cb4c7e61949d54dfd89b05442a11da25b8
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M clang/test/CIR/Lowering/lifetime.cir
    M clang/test/CIR/Lowering/stack-save-restore.cir
    M clang/test/CIR/Transforms/abi-lowering/byval-sret-arg-attr-lowering.cir
    M clang/test/CIR/Transforms/abi-lowering/extend-signed-arg.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-bitint.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-complex.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-empty-class.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-scalars.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-struct-direct.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-union-coerce-shapes.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-union.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-variadic-call.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-vector.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-vptr.cir
    M clang/test/CIR/Transforms/abi-lowering/x86_64-wide-floats.cir
    M clang/test/CMakeLists.txt
    M clang/tools/cir-translate/CMakeLists.txt
    M clang/tools/cir-translate/cir-translate.cpp

  Log Message:
  -----------
  [CIR] Register only the LLVM IR translations CIR lowers to (#221797)

The ClangIR tests reach LLVM IR through mlir-translate, which links
every MLIR dialect and translation, so building check-clang builds most
of MLIR. Register mlir-to-llvmir in cir-translate over the same three
dialects and use it instead. Remove the dependency on `mlir-translate`
to run CIR tests.

ninja check-clang drops from 6499 to 5853 build edges.

LLM-aided



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list