[all-commits] [llvm/llvm-project] 69adad: [clang][CIR] Merge the mlir::cir namespace into cir

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Thu Nov 7 14:36:54 PST 2024


  Branch: refs/heads/users/smeenai/2/orig
  Home:   https://github.com/llvm/llvm-project
  Commit: 69adad4ee21b88d93aa2ee158702a877946268be
      https://github.com/llvm/llvm-project/commit/69adad4ee21b88d93aa2ee158702a877946268be
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRDialect.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenerator.cpp
    M clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Dialect/IR/CIRTypes.cpp
    M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp

  Log Message:
  -----------
  [clang][CIR] Merge the mlir::cir namespace into cir

https://github.com/llvm/clangir/issues/1025 discusses the motivation.
The mechanical parts of this change were done via:
    find clang \( -name '*.h' -o -name '*.cpp' -o -name '*.td' \) -print0 | xargs -0 perl -pi -e 's/mlir::cir/cir/g'
    find clang \( -name '*.h' -o -name '*.cpp' \) -print0 | xargs -0 perl -pi -e 's/::cir/cir/g'

There were some manual fixups and a clang-format run afterwards.

ghstack-source-id: fe96b10e812e6316d15e2a7864131f1e7ac60c1c
ghstack-comment-id: 2463364322
Pull Request resolved: https://github.com/llvm/llvm-project/pull/115386



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