Skip to content
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

[mlir] DCE friend Dialect::registerDialect #121728

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

makslevental
Copy link
Contributor

@makslevental makslevental commented Jan 6, 2025

There's no implementation for this decl. Should've been removed here

b72e13c#diff-fad55ed6dd6c9cae07409d354d6cfdef35cef1550b568d6b57d946590b14a6cdL256

I guess.

@makslevental makslevental marked this pull request as ready for review January 6, 2025 03:57
@llvmbot llvmbot added mlir:core MLIR Core Infrastructure mlir labels Jan 6, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 6, 2025

@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-core

Author: Maksim Levental (makslevental)

Changes

There's no implementation for this decl. Should've been removed here

b72e13c#diff-fad55ed6dd6c9cae07409d354d6cfdef35cef1550b568d6b57d946590b14a6cdL256

I guess.


Full diff: https://github.com/llvm/llvm-project/pull/121728.diff

1 Files Affected:

  • (modified) mlir/include/mlir/IR/Dialect.h (-1)
diff --git a/mlir/include/mlir/IR/Dialect.h b/mlir/include/mlir/IR/Dialect.h
index f3e5f6d88c5317..fb24a6895dabdc 100644
--- a/mlir/include/mlir/IR/Dialect.h
+++ b/mlir/include/mlir/IR/Dialect.h
@@ -368,7 +368,6 @@ class Dialect {
   DenseSet<std::pair<TypeID, TypeID>> unresolvedPromisedInterfaces;
 
   friend class DialectRegistry;
-  friend void registerDialect();
   friend class MLIRContext;
 };
 

@makslevental makslevental requested a review from zero9178 January 6, 2025 04:41
Copy link
Member

@zero9178 zero9178 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@makslevental makslevental merged commit 9ce8f4b into main Jan 6, 2025
13 checks passed
@makslevental makslevental deleted the users/makslevental/fix-dialect branch January 6, 2025 12:12
paulhuggett pushed a commit to paulhuggett/llvm-project that referenced this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mlir:core MLIR Core Infrastructure mlir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants