[Mlir-commits] [flang] [mlir] [MLIR][NFC] Retire `let constructor` for passes in Conversion directory (part1) (PR #127403)

Jakub Kuderski llvmlistbot at llvm.org
Tue Feb 18 17:59:03 PST 2025


================
@@ -1337,7 +1337,9 @@ void mlir::arith::populateArithToSPIRVPatterns(
 
 namespace {
 struct ConvertArithToSPIRVPass
-    : public impl::ConvertArithToSPIRVBase<ConvertArithToSPIRVPass> {
+    : public impl::ConvertArithToSPIRVPassBase<ConvertArithToSPIRVPass> {
+  using ConvertArithToSPIRVPassBase::ConvertArithToSPIRVPassBase;
----------------
kuhar wrote:

Couldn't this and the other passes be `using Base::Base;`? @chelini 

https://github.com/llvm/llvm-project/pull/127403


More information about the Mlir-commits mailing list