-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[clang][CIR] Merge the mlir::cir namespace into cir #115386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Stack from ghstack (oldest at bottom): |
llvm/clangir#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: fe96b10 ghstack-comment-id: 2463364322 Pull Request resolved: #115386
@llvm/pr-subscribers-clangir @llvm/pr-subscribers-clang Author: Shoaib Meenai (smeenai) Changesllvm/clangir#1025 discusses the motivation. There were some manual fixups and a clang-format run afterwards. Full diff: https://github.com/llvm/llvm-project/pull/115386.diff 8 Files Affected:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC, this is following what Flang/FIR does, for consistency among projects. Thanks for putting some sanity on this Shoaib.
LGTM, pending Aaron's and others feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
llvm/clangir#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.
)" This reverts commit c72389d.
llvm/clangir#1025 discusses the motivation.
The mechanical parts of this change were done via:
There were some manual fixups and a clang-format run afterwards.