Skip to content

Commit

Permalink
Use $dialect instead of cppNamespace when generating IsDialectOp helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Symalla committed Oct 2, 2024
1 parent bdfb113 commit 8ae66f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TableGen/GenDialect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ void llvm_dialects::genDialectDefs(raw_ostream& out, RecordKeeper& records) {
}
bool $Dialect::isDialectOp(::llvm::StringRef funcName) {
return funcName.starts_with("$namespace.");
return funcName.starts_with("$dialect.");
}
::llvm_dialects::Dialect* $Dialect::make(::llvm::LLVMContext& context) {
Expand Down

0 comments on commit 8ae66f0

Please sign in to comment.