Skip to content

Commit 8ae66f0

Browse files
author
Thomas Symalla
committed
Use $dialect instead of cppNamespace when generating IsDialectOp helper
1 parent bdfb113 commit 8ae66f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/TableGen/GenDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ void llvm_dialects::genDialectDefs(raw_ostream& out, RecordKeeper& records) {
316316
}
317317
318318
bool $Dialect::isDialectOp(::llvm::StringRef funcName) {
319-
return funcName.starts_with("$namespace.");
319+
return funcName.starts_with("$dialect.");
320320
}
321321
322322
::llvm_dialects::Dialect* $Dialect::make(::llvm::LLVMContext& context) {

0 commit comments

Comments
 (0)