Skip to content

Instantly share code, notes, and snippets.

@kuhar
Created January 26, 2026 03:08
Show Gist options
  • Select an option

  • Save kuhar/a2276a2364325521ea6f39d2098497b9 to your computer and use it in GitHub Desktop.

Select an option

Save kuhar/a2276a2364325521ea6f39d2098497b9 to your computer and use it in GitHub Desktop.
llvm-type-switch-case-types diagnostics on MLIR with context
/home/jakub/llvm/test/src/mlir/lib/Interfaces/DataLayoutInterfaces.cpp:392:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
392 | .Case<ModuleOp>([&](ModuleOp op) {
/home/jakub/llvm/test/src/mlir/lib/Interfaces/DataLayoutInterfaces.cpp:404:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
404 | .Case<DataLayoutOpInterface>([&](DataLayoutOpInterface op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:353:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
353 | .Case<pdl::ApplyNativeConstraintOp>([&](auto constraintOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:353:49: note: replace 'auto' with explicit type
353 | .Case<pdl::ApplyNativeConstraintOp>([&](auto constraintOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:353:15: note: type from template argument can be inferred and removed
353 | .Case<pdl::ApplyNativeConstraintOp>([&](auto constraintOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:474:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
474 | .Case<pdl::OperationOp>([&](auto operationOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:474:39: note: replace 'auto' with explicit type
474 | .Case<pdl::OperationOp>([&](auto operationOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:474:17: note: type from template argument can be inferred and removed
474 | .Case<pdl::OperationOp>([&](auto operationOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:547:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
547 | .Case<pdl::OperationOp>([&](auto operationOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:547:35: note: replace 'auto' with explicit type
547 | .Case<pdl::OperationOp>([&](auto operationOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:547:13: note: type from template argument can be inferred and removed
547 | .Case<pdl::OperationOp>([&](auto operationOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:586:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
586 | .Case<pdl::ResultOp>([&](auto resultOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:586:32: note: replace 'auto' with explicit type
586 | .Case<pdl::ResultOp>([&](auto resultOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:586:13: note: type from template argument can be inferred and removed
586 | .Case<pdl::ResultOp>([&](auto resultOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:595:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
595 | .Case<pdl::ResultsOp>([&](auto resultOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:595:33: note: replace 'auto' with explicit type
595 | .Case<pdl::ResultsOp>([&](auto resultOp) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp:595:13: note: type from template argument can be inferred and removed
595 | .Case<pdl::ResultsOp>([&](auto resultOp) {
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/TranslationRegistration.cpp:30:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
30 | .Case<irdl::DialectOp>([&](irdl::DialectOp dialectOp) {
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/TranslationRegistration.cpp:33:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
33 | .Case<ModuleOp>([&](ModuleOp moduleOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/IRDL/IR/IRDL.cpp:146:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
146 | .Case<OperandsOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/IRDL/IR/IRDL.cpp:148:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
148 | .Case<ResultsOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/IRDL/IR/IRDL.cpp:150:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
150 | .Case<RegionsOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:884:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
884 | .Case<vector::ShapeCastOp>([&](auto) { return false; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:884:38: note: replace 'auto' with explicit type
884 | .Case<vector::ShapeCastOp>([&](auto) { return false; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:884:13: note: type from template argument can be inferred and removed
884 | .Case<vector::ShapeCastOp>([&](auto) { return false; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:894:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
894 | .Case<vector::ExtractStridedSliceOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:898:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
898 | .Case<vector::InsertStridedSliceOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:902:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
902 | .Case<vector::InsertOp>([&](vector::InsertOp insertOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp:905:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
905 | .Case<vector::ExtractOp>([&](vector::ExtractOp extractOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:463:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
463 | .Case<xegpu::DpasOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:464:15: note: replace 'auto' with explicit type
464 | [&](auto dpasOp) { visitDpasOp(dpasOp, operands, results); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:463:13: note: type from template argument can be inferred and removed
463 | .Case<xegpu::DpasOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:465:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
465 | .Case<xegpu::StoreNdOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:466:15: note: replace 'auto' with explicit type
466 | [&](auto storeNdOp) { visitStoreNdOp(storeNdOp, operands, results); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:465:13: note: type from template argument can be inferred and removed
465 | .Case<xegpu::StoreNdOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:467:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
467 | .Case<xegpu::StoreScatterOp>([&](auto storeScatterOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:467:40: note: replace 'auto' with explicit type
467 | .Case<xegpu::StoreScatterOp>([&](auto storeScatterOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:467:13: note: type from template argument can be inferred and removed
467 | .Case<xegpu::StoreScatterOp>([&](auto storeScatterOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:470:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
470 | .Case<xegpu::LoadNdOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:471:15: note: replace 'auto' with explicit type
471 | [&](auto loadNdOp) { visitLoadNdOp(loadNdOp, operands, results); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:470:13: note: type from template argument can be inferred and removed
470 | .Case<xegpu::LoadNdOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:472:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
472 | .Case<xegpu::LoadGatherOp>([&](auto loadGatherOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:472:38: note: replace 'auto' with explicit type
472 | .Case<xegpu::LoadGatherOp>([&](auto loadGatherOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:472:13: note: type from template argument can be inferred and removed
472 | .Case<xegpu::LoadGatherOp>([&](auto loadGatherOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:475:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
475 | .Case<xegpu::CreateDescOp>([&](auto createDescOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:475:38: note: replace 'auto' with explicit type
475 | .Case<xegpu::CreateDescOp>([&](auto createDescOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:475:13: note: type from template argument can be inferred and removed
475 | .Case<xegpu::CreateDescOp>([&](auto createDescOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:478:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
478 | .Case<xegpu::UpdateNdOffsetOp>([&](auto updateNdOffsetOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:478:42: note: replace 'auto' with explicit type
478 | .Case<xegpu::UpdateNdOffsetOp>([&](auto updateNdOffsetOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:478:13: note: type from template argument can be inferred and removed
478 | .Case<xegpu::UpdateNdOffsetOp>([&](auto updateNdOffsetOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:481:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
481 | .Case<xegpu::PrefetchNdOp>([&](auto prefetchNdOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:481:38: note: replace 'auto' with explicit type
481 | .Case<xegpu::PrefetchNdOp>([&](auto prefetchNdOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:481:13: note: type from template argument can be inferred and removed
481 | .Case<xegpu::PrefetchNdOp>([&](auto prefetchNdOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:484:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
484 | .Case<vector::TransposeOp>([&](auto transposeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:484:38: note: replace 'auto' with explicit type
484 | .Case<vector::TransposeOp>([&](auto transposeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:484:13: note: type from template argument can be inferred and removed
484 | .Case<vector::TransposeOp>([&](auto transposeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:487:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
487 | .Case<vector::BitCastOp>([&](auto bitcastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:487:36: note: replace 'auto' with explicit type
487 | .Case<vector::BitCastOp>([&](auto bitcastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:487:13: note: type from template argument can be inferred and removed
487 | .Case<vector::BitCastOp>([&](auto bitcastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:490:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
490 | .Case<vector::MultiDimReductionOp>([&](auto reductionOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:490:46: note: replace 'auto' with explicit type
490 | .Case<vector::MultiDimReductionOp>([&](auto reductionOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:490:13: note: type from template argument can be inferred and removed
490 | .Case<vector::MultiDimReductionOp>([&](auto reductionOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:493:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
493 | .Case<vector::BroadcastOp>([&](auto broadcastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:493:38: note: replace 'auto' with explicit type
493 | .Case<vector::BroadcastOp>([&](auto broadcastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:493:13: note: type from template argument can be inferred and removed
493 | .Case<vector::BroadcastOp>([&](auto broadcastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:496:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
496 | .Case<vector::ShapeCastOp>([&](auto shapeCastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:496:38: note: replace 'auto' with explicit type
496 | .Case<vector::ShapeCastOp>([&](auto shapeCastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:496:13: note: type from template argument can be inferred and removed
496 | .Case<vector::ShapeCastOp>([&](auto shapeCastOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:499:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
499 | .Case<xegpu::StoreMatrixOp>([&](auto storeMatrixOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:499:39: note: replace 'auto' with explicit type
499 | .Case<xegpu::StoreMatrixOp>([&](auto storeMatrixOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:499:13: note: type from template argument can be inferred and removed
499 | .Case<xegpu::StoreMatrixOp>([&](auto storeMatrixOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:1644:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
1644 | .Case<mlir::RegionBranchTerminatorOpInterface>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/XeGPU/Transforms/XeGPUPropagateLayout.cpp:1649:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
1649 | .Case<mlir::FunctionOpInterface>(
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:286:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
286 | .Case<DICompositeTypeAttr>([&](auto attr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:286:42: note: replace 'auto' with explicit type
286 | .Case<DICompositeTypeAttr>([&](auto attr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:286:17: note: type from template argument can be inferred and removed
286 | .Case<DICompositeTypeAttr>([&](auto attr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:295:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
295 | .Case<DISubprogramAttr>([&](auto attr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:295:39: note: replace 'auto' with explicit type
295 | .Case<DISubprogramAttr>([&](auto attr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/DebugTranslation.cpp:295:17: note: type from template argument can be inferred and removed
295 | .Case<DISubprogramAttr>([&](auto attr) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:420:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
420 | .Case<cf::BranchOp>([&](auto branch) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:420:33: note: replace 'auto' with explicit type
420 | .Case<cf::BranchOp>([&](auto branch) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:420:15: note: type from template argument can be inferred and removed
420 | .Case<cf::BranchOp>([&](auto branch) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:424:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
424 | .Case<cf::CondBranchOp>([&](auto condBranch) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:424:37: note: replace 'auto' with explicit type
424 | .Case<cf::CondBranchOp>([&](auto condBranch) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp:424:15: note: type from template argument can be inferred and removed
424 | .Case<cf::CondBranchOp>([&](auto condBranch) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/EliminateBarriers.cpp:325:14: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
325 | .Case<memref::TransposeOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/EliminateBarriers.cpp:325:44: note: replace 'auto' with explicit type
325 | .Case<memref::TransposeOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/EliminateBarriers.cpp:325:19: note: type from template argument can be inferred and removed
325 | .Case<memref::TransposeOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:45:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
45 | .Case<FloatAttr>(
/home/jakub/llvm/test/src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:46:14: note: replace 'auto' with explicit type
46 | [](auto floatAttr) { return floatAttr.getValue().isZero(); })
/home/jakub/llvm/test/src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:45:13: note: type from template argument can be inferred and removed
45 | .Case<FloatAttr>(
/home/jakub/llvm/test/src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:47:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
47 | .Case<IntegerAttr>(
/home/jakub/llvm/test/src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:48:14: note: replace 'auto' with explicit type
48 | [](auto intAttr) { return intAttr.getValue().isZero(); })
/home/jakub/llvm/test/src/mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp:47:13: note: type from template argument can be inferred and removed
47 | .Case<IntegerAttr>(
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:255:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
255 | .Case<Float16Type>([](auto) { return "Dhj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:255:31: note: replace 'auto' with explicit type
255 | .Case<Float16Type>([](auto) { return "Dhj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:255:15: note: type from template argument can be inferred and removed
255 | .Case<Float16Type>([](auto) { return "Dhj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:256:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
256 | .Case<Float32Type>([](auto) { return "fj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:256:31: note: replace 'auto' with explicit type
256 | .Case<Float32Type>([](auto) { return "fj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:256:15: note: type from template argument can be inferred and removed
256 | .Case<Float32Type>([](auto) { return "fj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:257:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
257 | .Case<Float64Type>([](auto) { return "dj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:257:31: note: replace 'auto' with explicit type
257 | .Case<Float64Type>([](auto) { return "dj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:257:15: note: type from template argument can be inferred and removed
257 | .Case<Float64Type>([](auto) { return "dj"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:258:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
258 | .Case<IntegerType>([](auto intTy) -> std::optional<StringRef> {
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:258:31: note: replace 'auto' with explicit type
258 | .Case<IntegerType>([](auto intTy) -> std::optional<StringRef> {
/home/jakub/llvm/test/src/mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp:258:15: note: type from template argument can be inferred and removed
258 | .Case<IntegerType>([](auto intTy) -> std::optional<StringRef> {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/SimplifyDepthwiseConv.cpp:79:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
79 | .Case<DepthwiseConv2DNhwcHwcmOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/SimplifyDepthwiseConv.cpp:79:48: note: replace 'auto' with explicit type
79 | .Case<DepthwiseConv2DNhwcHwcmOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/SimplifyDepthwiseConv.cpp:79:17: note: type from template argument can be inferred and removed
79 | .Case<DepthwiseConv2DNhwcHwcmOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/SimplifyDepthwiseConv.cpp:85:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
85 | .Case<DepthwiseConv2DNhwcHwcmQOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/SimplifyDepthwiseConv.cpp:85:49: note: replace 'auto' with explicit type
85 | .Case<DepthwiseConv2DNhwcHwcmQOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/SimplifyDepthwiseConv.cpp:85:17: note: type from template argument can be inferred and removed
85 | .Case<DepthwiseConv2DNhwcHwcmQOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:336:14: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
336 | .Case<StringAttr>([&](auto strAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:336:35: note: replace 'auto' with explicit type
336 | .Case<StringAttr>([&](auto strAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:336:19: note: type from template argument can be inferred and removed
336 | .Case<StringAttr>([&](auto strAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:340:14: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
340 | .Case<IntegerAttr>([&](auto intAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:340:36: note: replace 'auto' with explicit type
340 | .Case<IntegerAttr>([&](auto intAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:340:19: note: type from template argument can be inferred and removed
340 | .Case<IntegerAttr>([&](auto intAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:345:14: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
345 | .Case<ArrayAttr>([&](auto arrayAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:345:34: note: replace 'auto' with explicit type
345 | .Case<ArrayAttr>([&](auto arrayAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp:345:19: note: type from template argument can be inferred and removed
345 | .Case<ArrayAttr>([&](auto arrayAttr) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp:59:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
59 | .Case<scf::ForOp>([&](scf::ForOp forOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:66:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
66 | .Case<RankedTensorType>([&](RankedTensorType t) -> Value {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:69:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
69 | .Case<MemRefType>([&](MemRefType t) -> Value {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:81:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
81 | .Case<RankedTensorType>([&](RankedTensorType t) -> Operation * {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp:85:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
85 | .Case<MemRefType>([&](MemRefType type) -> Operation * {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:362:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
362 | .Case<FunctionOpInterface>([&](auto func) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:362:42: note: replace 'auto' with explicit type
362 | .Case<FunctionOpInterface>([&](auto func) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:362:17: note: type from template argument can be inferred and removed
362 | .Case<FunctionOpInterface>([&](auto func) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:370:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
370 | .Case<acc::GlobalVariableOpInterface>([&](auto globalVarOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:370:53: note: replace 'auto' with explicit type
370 | .Case<acc::GlobalVariableOpInterface>([&](auto globalVarOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:370:17: note: type from template argument can be inferred and removed
370 | .Case<acc::GlobalVariableOpInterface>([&](auto globalVarOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:376:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
376 | .Case<acc::PrivateRecipeOp>([&](auto privateRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:376:43: note: replace 'auto' with explicit type
376 | .Case<acc::PrivateRecipeOp>([&](auto privateRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:376:17: note: type from template argument can be inferred and removed
376 | .Case<acc::PrivateRecipeOp>([&](auto privateRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:386:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
386 | .Case<acc::FirstprivateRecipeOp>([&](auto firstprivateRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:386:48: note: replace 'auto' with explicit type
386 | .Case<acc::FirstprivateRecipeOp>([&](auto firstprivateRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:386:17: note: type from template argument can be inferred and removed
386 | .Case<acc::FirstprivateRecipeOp>([&](auto firstprivateRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:399:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
399 | .Case<acc::ReductionRecipeOp>([&](auto reductionRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:399:45: note: replace 'auto' with explicit type
399 | .Case<acc::ReductionRecipeOp>([&](auto reductionRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/OpenACC/Transforms/ACCImplicitDeclare.cpp:399:17: note: type from template argument can be inferred and removed
399 | .Case<acc::ReductionRecipeOp>([&](auto reductionRecipe) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:116:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
116 | .Case<vector::CreateMaskOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:117:19: note: replace 'auto' with explicit type
117 | [&](auto createMaskOp) -> std::optional<Operation *> {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:116:17: note: type from template argument can be inferred and removed
116 | .Case<vector::CreateMaskOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:137:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
137 | .Case<vector::ConstantMaskOp>([&](auto constantMaskOp)
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:137:45: note: replace 'auto' with explicit type
137 | .Case<vector::ConstantMaskOp>([&](auto constantMaskOp)
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:137:17: note: type from template argument can be inferred and removed
137 | .Case<vector::ConstantMaskOp>([&](auto constantMaskOp)
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:147:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
147 | .Case<arith::ConstantOp>([&](auto constantOp)
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:147:40: note: replace 'auto' with explicit type
147 | .Case<arith::ConstantOp>([&](auto constantOp)
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:147:17: note: type from template argument can be inferred and removed
147 | .Case<arith::ConstantOp>([&](auto constantOp)
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:766:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
766 | .Case<LLVMStructType>([&](auto structType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:766:37: note: replace 'auto' with explicit type
766 | .Case<LLVMStructType>([&](auto structType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:766:17: note: type from template argument can be inferred and removed
766 | .Case<LLVMStructType>([&](auto structType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:769:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
769 | .Case<LLVMFunctionType>([&](auto funcType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:769:39: note: replace 'auto' with explicit type
769 | .Case<LLVMFunctionType>([&](auto funcType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:769:17: note: type from template argument can be inferred and removed
769 | .Case<LLVMFunctionType>([&](auto funcType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:773:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
773 | .Case<IntegerType>([](auto intType) { return intType.isSignless(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:773:33: note: replace 'auto' with explicit type
773 | .Case<IntegerType>([](auto intType) { return intType.isSignless(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:773:17: note: type from template argument can be inferred and removed
773 | .Case<IntegerType>([](auto intType) { return intType.isSignless(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:774:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
774 | .Case<VectorType>([&](auto vecType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:774:33: note: replace 'auto' with explicit type
774 | .Case<VectorType>([&](auto vecType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:774:17: note: type from template argument can be inferred and removed
774 | .Case<VectorType>([&](auto vecType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:778:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
778 | .Case<LLVMPointerType>([&](auto pointerType) { return true; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:778:38: note: replace 'auto' with explicit type
778 | .Case<LLVMPointerType>([&](auto pointerType) { return true; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:778:17: note: type from template argument can be inferred and removed
778 | .Case<LLVMPointerType>([&](auto pointerType) { return true; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:779:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
779 | .Case<LLVMTargetExtType>([&](auto extType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:779:40: note: replace 'auto' with explicit type
779 | .Case<LLVMTargetExtType>([&](auto extType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:779:17: note: type from template argument can be inferred and removed
779 | .Case<LLVMTargetExtType>([&](auto extType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:783:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
783 | .Case<
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:785:17: note: replace 'auto' with explicit type
785 | >([&](auto containerType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:784:15: note: type from template argument can be inferred and removed
784 | LLVMArrayType
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:898:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
898 | .Case<IntegerType>([](IntegerType intTy) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp:903:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
903 | .Case<VectorType>([](VectorType t) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/Ptr/PtrToLLVMIRTranslation.cpp:423:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
423 | .Case<GatherOp>([&](GatherOp gatherOp) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/Ptr/PtrToLLVMIRTranslation.cpp:426:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
426 | .Case<MaskedLoadOp>([&](MaskedLoadOp maskedLoadOp) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/Ptr/PtrToLLVMIRTranslation.cpp:430:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
430 | .Case<MaskedStoreOp>([&](MaskedStoreOp maskedStoreOp) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/Ptr/PtrToLLVMIRTranslation.cpp:434:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
434 | .Case<ScatterOp>([&](ScatterOp scatterOp) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2160:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2160 | .Case<OpaqueLoc>([&](OpaqueLoc loc) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2163:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2163 | .Case<UnknownLoc>([&](UnknownLoc loc) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2169:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2169 | .Case<FileLineColRange>([&](FileLineColRange loc) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2187:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2187 | .Case<NameLoc>([&](NameLoc loc) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2198:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2198 | .Case<CallSiteLoc>([&](CallSiteLoc loc) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2221:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2221 | .Case<FusedLoc>([&](FusedLoc loc) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2747:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2747 | .Case<OpaqueType>([&](OpaqueType opaqueTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2770:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2770 | .Case<IntegerType>([&](IntegerType integerTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2777:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2777 | .Case<FunctionType>([&](FunctionType funcTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2790:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2790 | .Case<VectorType>([&](VectorType vectorTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2807:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2807 | .Case<RankedTensorType>([&](RankedTensorType tensorTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2820:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2820 | .Case<UnrankedTensorType>([&](UnrankedTensorType tensorTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2825:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2825 | .Case<MemRefType>([&](MemRefType memrefTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2843:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2843 | .Case<UnrankedMemRefType>([&](UnrankedMemRefType memrefTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2853:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2853 | .Case<ComplexType>([&](ComplexType complexTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2858:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2858 | .Case<TupleType>([&](TupleType tupleTy) {
/home/jakub/llvm/test/src/mlir/lib/IR/AsmPrinter.cpp:2865:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
2865 | .Case<GraphType>([&](GraphType graphTy) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:127:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
127 | .template Case<memref::AllocOp>([&](auto oper) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:127:43: note: replace 'auto' with explicit type
127 | .template Case<memref::AllocOp>([&](auto oper) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:127:22: note: type from template argument can be inferred and removed
127 | .template Case<memref::AllocOp>([&](auto oper) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:133:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
133 | .template Case<memref::AllocaOp>([&](auto oper) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:133:44: note: replace 'auto' with explicit type
133 | .template Case<memref::AllocaOp>([&](auto oper) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:133:22: note: type from template argument can be inferred and removed
133 | .template Case<memref::AllocaOp>([&](auto oper) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:139:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
139 | .template Case<memref::LoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:139:42: note: replace 'auto' with explicit type
139 | .template Case<memref::LoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:139:22: note: type from template argument can be inferred and removed
139 | .template Case<memref::LoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:146:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
146 | .template Case<memref::StoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:146:43: note: replace 'auto' with explicit type
146 | .template Case<memref::StoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:146:22: note: type from template argument can be inferred and removed
146 | .template Case<memref::StoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:153:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
153 | .template Case<vector::LoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:153:42: note: replace 'auto' with explicit type
153 | .template Case<vector::LoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:153:22: note: type from template argument can be inferred and removed
153 | .template Case<vector::LoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:160:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
160 | .template Case<vector::StoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:160:43: note: replace 'auto' with explicit type
160 | .template Case<vector::StoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:160:22: note: type from template argument can be inferred and removed
160 | .template Case<vector::StoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:167:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
167 | .template Case<vector::MaskedLoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:167:48: note: replace 'auto' with explicit type
167 | .template Case<vector::MaskedLoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:167:22: note: type from template argument can be inferred and removed
167 | .template Case<vector::MaskedLoadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:174:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
174 | .template Case<vector::MaskedStoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:174:49: note: replace 'auto' with explicit type
174 | .template Case<vector::MaskedStoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:174:22: note: type from template argument can be inferred and removed
174 | .template Case<vector::MaskedStoreOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:181:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
181 | .template Case<vector::TransferReadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:181:50: note: replace 'auto' with explicit type
181 | .template Case<vector::TransferReadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:181:22: note: type from template argument can be inferred and removed
181 | .template Case<vector::TransferReadOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:187:17: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
187 | .template Case<vector::TransferWriteOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:187:51: note: replace 'auto' with explicit type
187 | .template Case<vector::TransferWriteOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/MemRef/Transforms/FlattenMemRefs.cpp:187:22: note: type from template argument can be inferred and removed
187 | .template Case<vector::TransferWriteOp>([&](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp:246:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
246 | .Case<async::AwaitOp>([&](auto awaitOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp:246:35: note: replace 'auto' with explicit type
246 | .Case<async::AwaitOp>([&](auto awaitOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp:246:15: note: type from template argument can be inferred and removed
246 | .Case<async::AwaitOp>([&](auto awaitOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp:255:10: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
255 | .Case<async::ExecuteOp>([&](auto executeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp:255:37: note: replace 'auto' with explicit type
255 | .Case<async::ExecuteOp>([&](auto executeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/Transforms/AsyncRegionRewriter.cpp:255:15: note: type from template argument can be inferred and removed
255 | .Case<async::ExecuteOp>([&](auto executeOp) {
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:84:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
84 | .Case<CustomDirective>([&](auto custom) {
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:84:34: note: replace 'auto' with explicit type
84 | .Case<CustomDirective>([&](auto custom) {
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:84:13: note: type from template argument can be inferred and removed
84 | .Case<CustomDirective>([&](auto custom) {
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:89:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
89 | .Case<ParameterElement>([&](auto param) { return param; })
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:89:35: note: replace 'auto' with explicit type
89 | .Case<ParameterElement>([&](auto param) { return param; })
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:89:13: note: type from template argument can be inferred and removed
89 | .Case<ParameterElement>([&](auto param) { return param; })
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:90:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
90 | .Case<RefDirective>(
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:91:15: note: replace 'auto' with explicit type
91 | [&](auto ref) { return cast<ParameterElement>(ref->getArg()); })
/home/jakub/llvm/test/src/mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp:90:13: note: type from template argument can be inferred and removed
90 | .Case<RefDirective>(
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:650:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
650 | .Case<irdl::DialectOp>(([](irdl::DialectOp) { return success(); }))
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:651:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
651 | .Case<irdl::OperationOp>(
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:653:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
653 | .Case<irdl::TypeOp>(([](irdl::TypeOp) { return success(); }))
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:654:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
654 | .Case<irdl::OperandsOp>(([](irdl::OperandsOp op) -> LogicalResult {
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:663:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
663 | .Case<irdl::ResultsOp>(([](irdl::ResultsOp op) -> LogicalResult {
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:672:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
672 | .Case<irdl::AnyOp>(([](irdl::AnyOp) { return success(); }))
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:673:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
673 | .Case<irdl::RegionOp>(([](irdl::RegionOp) { return success(); }))
/home/jakub/llvm/test/src/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp:674:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
674 | .Case<irdl::RegionsOp>(([](irdl::RegionsOp) { return success(); }))
/home/jakub/llvm/test/src/mlir/lib/TableGen/Type.cpp:55:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
55 | .Case<llvm::StringInit>([&](auto *init) {
/home/jakub/llvm/test/src/mlir/lib/TableGen/Type.cpp:55:35: note: replace 'auto' with explicit type
55 | .Case<llvm::StringInit>([&](auto *init) {
/home/jakub/llvm/test/src/mlir/lib/TableGen/Type.cpp:55:13: note: type from template argument can be inferred and removed
55 | .Case<llvm::StringInit>([&](auto *init) {
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:73:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
73 | .Case<emitc::AddressOfOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:73:37: note: replace 'auto' with explicit type
73 | .Case<emitc::AddressOfOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:73:13: note: type from template argument can be inferred and removed
73 | .Case<emitc::AddressOfOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:74:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
74 | .Case<emitc::AddOp>([&](auto op) { return 12; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:74:31: note: replace 'auto' with explicit type
74 | .Case<emitc::AddOp>([&](auto op) { return 12; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:74:13: note: type from template argument can be inferred and removed
74 | .Case<emitc::AddOp>([&](auto op) { return 12; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:75:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
75 | .Case<emitc::ApplyOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:75:33: note: replace 'auto' with explicit type
75 | .Case<emitc::ApplyOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:75:13: note: type from template argument can be inferred and removed
75 | .Case<emitc::ApplyOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:76:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
76 | .Case<emitc::BitwiseAndOp>([&](auto op) { return 7; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:76:38: note: replace 'auto' with explicit type
76 | .Case<emitc::BitwiseAndOp>([&](auto op) { return 7; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:76:13: note: type from template argument can be inferred and removed
76 | .Case<emitc::BitwiseAndOp>([&](auto op) { return 7; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:77:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
77 | .Case<emitc::BitwiseLeftShiftOp>([&](auto op) { return 11; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:77:44: note: replace 'auto' with explicit type
77 | .Case<emitc::BitwiseLeftShiftOp>([&](auto op) { return 11; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:77:13: note: type from template argument can be inferred and removed
77 | .Case<emitc::BitwiseLeftShiftOp>([&](auto op) { return 11; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:78:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
78 | .Case<emitc::BitwiseNotOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:78:38: note: replace 'auto' with explicit type
78 | .Case<emitc::BitwiseNotOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:78:13: note: type from template argument can be inferred and removed
78 | .Case<emitc::BitwiseNotOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:79:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
79 | .Case<emitc::BitwiseOrOp>([&](auto op) { return 5; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:79:37: note: replace 'auto' with explicit type
79 | .Case<emitc::BitwiseOrOp>([&](auto op) { return 5; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:79:13: note: type from template argument can be inferred and removed
79 | .Case<emitc::BitwiseOrOp>([&](auto op) { return 5; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:80:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
80 | .Case<emitc::BitwiseRightShiftOp>([&](auto op) { return 11; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:80:45: note: replace 'auto' with explicit type
80 | .Case<emitc::BitwiseRightShiftOp>([&](auto op) { return 11; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:80:13: note: type from template argument can be inferred and removed
80 | .Case<emitc::BitwiseRightShiftOp>([&](auto op) { return 11; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:81:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
81 | .Case<emitc::BitwiseXorOp>([&](auto op) { return 6; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:81:38: note: replace 'auto' with explicit type
81 | .Case<emitc::BitwiseXorOp>([&](auto op) { return 6; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:81:13: note: type from template argument can be inferred and removed
81 | .Case<emitc::BitwiseXorOp>([&](auto op) { return 6; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:82:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
82 | .Case<emitc::CallOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:82:32: note: replace 'auto' with explicit type
82 | .Case<emitc::CallOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:82:13: note: type from template argument can be inferred and removed
82 | .Case<emitc::CallOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:83:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
83 | .Case<emitc::CallOpaqueOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:83:38: note: replace 'auto' with explicit type
83 | .Case<emitc::CallOpaqueOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:83:13: note: type from template argument can be inferred and removed
83 | .Case<emitc::CallOpaqueOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:84:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
84 | .Case<emitc::CastOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:84:32: note: replace 'auto' with explicit type
84 | .Case<emitc::CastOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:84:13: note: type from template argument can be inferred and removed
84 | .Case<emitc::CastOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:85:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
85 | .Case<emitc::CmpOp>([&](auto op) -> FailureOr<int> {
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:85:31: note: replace 'auto' with explicit type
85 | .Case<emitc::CmpOp>([&](auto op) -> FailureOr<int> {
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:85:13: note: type from template argument can be inferred and removed
85 | .Case<emitc::CmpOp>([&](auto op) -> FailureOr<int> {
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:100:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
100 | .Case<emitc::ConditionalOp>([&](auto op) { return 2; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:100:39: note: replace 'auto' with explicit type
100 | .Case<emitc::ConditionalOp>([&](auto op) { return 2; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:100:13: note: type from template argument can be inferred and removed
100 | .Case<emitc::ConditionalOp>([&](auto op) { return 2; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:101:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
101 | .Case<emitc::ConstantOp>([&](auto op) { return 17; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:101:36: note: replace 'auto' with explicit type
101 | .Case<emitc::ConstantOp>([&](auto op) { return 17; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:101:13: note: type from template argument can be inferred and removed
101 | .Case<emitc::ConstantOp>([&](auto op) { return 17; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:102:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
102 | .Case<emitc::DivOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:102:31: note: replace 'auto' with explicit type
102 | .Case<emitc::DivOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:102:13: note: type from template argument can be inferred and removed
102 | .Case<emitc::DivOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:103:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
103 | .Case<emitc::LoadOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:103:32: note: replace 'auto' with explicit type
103 | .Case<emitc::LoadOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:103:13: note: type from template argument can be inferred and removed
103 | .Case<emitc::LoadOp>([&](auto op) { return 16; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:104:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
104 | .Case<emitc::LogicalAndOp>([&](auto op) { return 4; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:104:38: note: replace 'auto' with explicit type
104 | .Case<emitc::LogicalAndOp>([&](auto op) { return 4; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:104:13: note: type from template argument can be inferred and removed
104 | .Case<emitc::LogicalAndOp>([&](auto op) { return 4; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:105:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
105 | .Case<emitc::LogicalNotOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:105:38: note: replace 'auto' with explicit type
105 | .Case<emitc::LogicalNotOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:105:13: note: type from template argument can be inferred and removed
105 | .Case<emitc::LogicalNotOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:106:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
106 | .Case<emitc::LogicalOrOp>([&](auto op) { return 3; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:106:37: note: replace 'auto' with explicit type
106 | .Case<emitc::LogicalOrOp>([&](auto op) { return 3; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:106:13: note: type from template argument can be inferred and removed
106 | .Case<emitc::LogicalOrOp>([&](auto op) { return 3; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:107:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
107 | .Case<emitc::MulOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:107:31: note: replace 'auto' with explicit type
107 | .Case<emitc::MulOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:107:13: note: type from template argument can be inferred and removed
107 | .Case<emitc::MulOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:108:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
108 | .Case<emitc::RemOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:108:31: note: replace 'auto' with explicit type
108 | .Case<emitc::RemOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:108:13: note: type from template argument can be inferred and removed
108 | .Case<emitc::RemOp>([&](auto op) { return 13; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:109:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
109 | .Case<emitc::SubOp>([&](auto op) { return 12; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:109:31: note: replace 'auto' with explicit type
109 | .Case<emitc::SubOp>([&](auto op) { return 12; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:109:13: note: type from template argument can be inferred and removed
109 | .Case<emitc::SubOp>([&](auto op) { return 12; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:110:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
110 | .Case<emitc::UnaryMinusOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:110:38: note: replace 'auto' with explicit type
110 | .Case<emitc::UnaryMinusOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:110:13: note: type from template argument can be inferred and removed
110 | .Case<emitc::UnaryMinusOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:111:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
111 | .Case<emitc::UnaryPlusOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:111:37: note: replace 'auto' with explicit type
111 | .Case<emitc::UnaryPlusOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:111:13: note: type from template argument can be inferred and removed
111 | .Case<emitc::UnaryPlusOp>([&](auto op) { return 15; })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:1838:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1838 | .Case<ModuleOp>([&](auto op) { return printOperation(*this, op); })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:1838:31: note: replace 'auto' with explicit type
1838 | .Case<ModuleOp>([&](auto op) { return printOperation(*this, op); })
/home/jakub/llvm/test/src/mlir/lib/Target/Cpp/TranslateToCpp.cpp:1838:17: note: type from template argument can be inferred and removed
1838 | .Case<ModuleOp>([&](auto op) { return printOperation(*this, op); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp:843:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
843 | .Case<TransposeOp>([&](TransposeOp transposeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp:304:21: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
304 | .Case<vector::TransferReadOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp:305:28: note: replace 'auto' with explicit type
305 | [&](auto readOp) { return readOp.getBase(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp:304:26: note: type from template argument can be inferred and removed
304 | .Case<vector::TransferReadOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp:306:21: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
306 | .Case<vector::TransferWriteOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp:307:28: note: replace 'auto' with explicit type
307 | [&](auto writeOp) { return writeOp.getOperand(1); });
/home/jakub/llvm/test/src/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp:306:26: note: type from template argument can be inferred and removed
306 | .Case<vector::TransferWriteOp>(
/home/jakub/llvm/test/src/mlir/lib/Rewrite/ByteCode.cpp:407:14: warning: redundant explicit template argument [llvm-type-switch-case-types]
407 | .Case<pdl::RangeType>([](pdl::RangeType rangeTy) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SCF/Transforms/LoopCanonicalization.cpp:51:27: warning: redundant explicit template argument [llvm-type-switch-case-types]
51 | .template Case<InsertSliceOp>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/SCF/Transforms/LoopCanonicalization.cpp:53:27: warning: redundant explicit template argument [llvm-type-switch-case-types]
53 | .template Case<ForOp>([&](ForOp forOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:53:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
53 | .Case<SampledImageType>([this](SampledImageType concreteType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:56:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
56 | .Case<StructType>([this](StructType concreteType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:100:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
100 | .Case<ArrayType>([this](ArrayType concreteType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:103:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
103 | .Case<SampledImageType>([this](SampledImageType concreteType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:106:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
106 | .Case<StructType>([this](StructType concreteType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:198:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
198 | .Case<MatrixType>([](MatrixType type) { return type.getColumnType(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:199:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
199 | .Case<StructType>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:208:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
208 | .Case<MatrixType>([](MatrixType type) { return type.getNumColumns(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:707:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
707 | .Case<ScalarType>([](ScalarType type) -> std::optional<int64_t> {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp:720:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
720 | .Case<ArrayType>([](ArrayType type) -> std::optional<int64_t> {
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp:346:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
346 | .Case<spirv::CooperativeMatrixType>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp:347:18: note: replace 'auto' with explicit type
347 | [](auto coopType) { return coopType.getElementType(); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp:346:17: note: type from template argument can be inferred and removed
346 | .Case<spirv::CooperativeMatrixType>(
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp:631:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
631 | .Case<Float16Type>([](Float16Type) { return spirv::ImageFormat::R16f; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp:632:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
632 | .Case<Float32Type>([](Float32Type) { return spirv::ImageFormat::R32f; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp:633:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
633 | .Case<IntegerType>([](IntegerType intType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/GPU/IR/GPUDialect.cpp:371:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
371 | .Case<MMAMatrixType>([&](MMAMatrixType fragTy) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp:427:24: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
427 | .Case<vector::ShapeCastOp>([&current](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp:427:61: note: replace 'auto' with explicit type
427 | .Case<vector::ShapeCastOp>([&current](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp:427:29: note: type from template argument can be inferred and removed
427 | .Case<vector::ShapeCastOp>([&current](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp:431:24: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
431 | .Case<vector::BroadcastOp>([&current](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp:431:61: note: replace 'auto' with explicit type
431 | .Case<vector::BroadcastOp>([&current](auto op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/ArithToAMDGPU/ArithToAMDGPU.cpp:431:29: note: type from template argument can be inferred and removed
431 | .Case<vector::BroadcastOp>([&current](auto op) {
/home/jakub/llvm/test/src/mlir/lib/TableGen/Operator.cpp:855:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
855 | .Case<StringInit>([&](auto *init) { return init->getValue(); });
/home/jakub/llvm/test/src/mlir/lib/TableGen/Operator.cpp:855:29: note: replace 'auto' with explicit type
855 | .Case<StringInit>([&](auto *init) { return init->getValue(); });
/home/jakub/llvm/test/src/mlir/lib/TableGen/Operator.cpp:855:13: note: type from template argument can be inferred and removed
855 | .Case<StringInit>([&](auto *init) { return init->getValue(); });
/home/jakub/llvm/test/src/mlir/lib/Dialect/PDL/IR/PDL.cpp:73:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
73 | .Case<OperationOp>([&visited](auto operation) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/PDL/IR/PDL.cpp:73:37: note: replace 'auto' with explicit type
73 | .Case<OperationOp>([&visited](auto operation) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/PDL/IR/PDL.cpp:73:13: note: type from template argument can be inferred and removed
73 | .Case<OperationOp>([&visited](auto operation) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:647:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
647 | .Case<arith::AndIOp>([&](auto op) { return CombiningKind::AND; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:647:32: note: replace 'auto' with explicit type
647 | .Case<arith::AndIOp>([&](auto op) { return CombiningKind::AND; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:647:13: note: type from template argument can be inferred and removed
647 | .Case<arith::AndIOp>([&](auto op) { return CombiningKind::AND; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:648:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
648 | .Case<arith::MaxSIOp>([&](auto op) { return CombiningKind::MAXSI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:648:33: note: replace 'auto' with explicit type
648 | .Case<arith::MaxSIOp>([&](auto op) { return CombiningKind::MAXSI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:648:13: note: type from template argument can be inferred and removed
648 | .Case<arith::MaxSIOp>([&](auto op) { return CombiningKind::MAXSI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:649:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
649 | .Case<arith::MaxUIOp>([&](auto op) { return CombiningKind::MAXUI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:649:33: note: replace 'auto' with explicit type
649 | .Case<arith::MaxUIOp>([&](auto op) { return CombiningKind::MAXUI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:649:13: note: type from template argument can be inferred and removed
649 | .Case<arith::MaxUIOp>([&](auto op) { return CombiningKind::MAXUI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:650:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
650 | .Case<arith::MaximumFOp>([&](auto op) { return CombiningKind::MAXIMUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:650:36: note: replace 'auto' with explicit type
650 | .Case<arith::MaximumFOp>([&](auto op) { return CombiningKind::MAXIMUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:650:13: note: type from template argument can be inferred and removed
650 | .Case<arith::MaximumFOp>([&](auto op) { return CombiningKind::MAXIMUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:651:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
651 | .Case<arith::MaxNumFOp>([&](auto op) { return CombiningKind::MAXNUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:651:35: note: replace 'auto' with explicit type
651 | .Case<arith::MaxNumFOp>([&](auto op) { return CombiningKind::MAXNUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:651:13: note: type from template argument can be inferred and removed
651 | .Case<arith::MaxNumFOp>([&](auto op) { return CombiningKind::MAXNUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:652:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
652 | .Case<arith::MinSIOp>([&](auto op) { return CombiningKind::MINSI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:652:33: note: replace 'auto' with explicit type
652 | .Case<arith::MinSIOp>([&](auto op) { return CombiningKind::MINSI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:652:13: note: type from template argument can be inferred and removed
652 | .Case<arith::MinSIOp>([&](auto op) { return CombiningKind::MINSI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:653:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
653 | .Case<arith::MinUIOp>([&](auto op) { return CombiningKind::MINUI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:653:33: note: replace 'auto' with explicit type
653 | .Case<arith::MinUIOp>([&](auto op) { return CombiningKind::MINUI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:653:13: note: type from template argument can be inferred and removed
653 | .Case<arith::MinUIOp>([&](auto op) { return CombiningKind::MINUI; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:654:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
654 | .Case<arith::MinimumFOp>([&](auto op) { return CombiningKind::MINIMUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:654:36: note: replace 'auto' with explicit type
654 | .Case<arith::MinimumFOp>([&](auto op) { return CombiningKind::MINIMUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:654:13: note: type from template argument can be inferred and removed
654 | .Case<arith::MinimumFOp>([&](auto op) { return CombiningKind::MINIMUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:655:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
655 | .Case<arith::MinNumFOp>([&](auto op) { return CombiningKind::MINNUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:655:35: note: replace 'auto' with explicit type
655 | .Case<arith::MinNumFOp>([&](auto op) { return CombiningKind::MINNUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:655:13: note: type from template argument can be inferred and removed
655 | .Case<arith::MinNumFOp>([&](auto op) { return CombiningKind::MINNUMF; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:658:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
658 | .Case<arith::OrIOp>([&](auto op) { return CombiningKind::OR; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:658:31: note: replace 'auto' with explicit type
658 | .Case<arith::OrIOp>([&](auto op) { return CombiningKind::OR; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:658:13: note: type from template argument can be inferred and removed
658 | .Case<arith::OrIOp>([&](auto op) { return CombiningKind::OR; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:659:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
659 | .Case<arith::XOrIOp>([&](auto op) { return CombiningKind::XOR; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:659:32: note: replace 'auto' with explicit type
659 | .Case<arith::XOrIOp>([&](auto op) { return CombiningKind::XOR; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:659:13: note: type from template argument can be inferred and removed
659 | .Case<arith::XOrIOp>([&](auto op) { return CombiningKind::XOR; })
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2687:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2687 | .Case<linalg::LinalgOp>([&](auto linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2687:35: note: replace 'auto' with explicit type
2687 | .Case<linalg::LinalgOp>([&](auto linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2687:13: note: type from template argument can be inferred and removed
2687 | .Case<linalg::LinalgOp>([&](auto linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2692:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2692 | .Case<tensor::PadOp>([&](auto padOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2692:32: note: replace 'auto' with explicit type
2692 | .Case<tensor::PadOp>([&](auto padOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2692:13: note: type from template argument can be inferred and removed
2692 | .Case<tensor::PadOp>([&](auto padOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2695:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2695 | .Case<linalg::PackOp>([&](auto packOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2695:33: note: replace 'auto' with explicit type
2695 | .Case<linalg::PackOp>([&](auto packOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2695:13: note: type from template argument can be inferred and removed
2695 | .Case<linalg::PackOp>([&](auto packOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2698:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2698 | .Case<linalg::UnPackOp>([&](auto unpackOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2698:35: note: replace 'auto' with explicit type
2698 | .Case<linalg::UnPackOp>([&](auto unpackOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2698:13: note: type from template argument can be inferred and removed
2698 | .Case<linalg::UnPackOp>([&](auto unpackOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2701:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2701 | .Case<tensor::InsertSliceOp>([&](auto sliceOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2701:40: note: replace 'auto' with explicit type
2701 | .Case<tensor::InsertSliceOp>([&](auto sliceOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2701:13: note: type from template argument can be inferred and removed
2701 | .Case<tensor::InsertSliceOp>([&](auto sliceOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2758:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2758 | .Case<linalg::LinalgOp>([&](auto linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2758:39: note: replace 'auto' with explicit type
2758 | .Case<linalg::LinalgOp>([&](auto linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2758:17: note: type from template argument can be inferred and removed
2758 | .Case<linalg::LinalgOp>([&](auto linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2792:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2792 | .Case<tensor::PadOp>([&](auto padOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2792:36: note: replace 'auto' with explicit type
2792 | .Case<tensor::PadOp>([&](auto padOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2792:17: note: type from template argument can be inferred and removed
2792 | .Case<tensor::PadOp>([&](auto padOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2796:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2796 | .Case<linalg::PackOp>([&](auto packOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2796:37: note: replace 'auto' with explicit type
2796 | .Case<linalg::PackOp>([&](auto packOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2796:17: note: type from template argument can be inferred and removed
2796 | .Case<linalg::PackOp>([&](auto packOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2800:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2800 | .Case<linalg::UnPackOp>([&](auto unpackOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2800:39: note: replace 'auto' with explicit type
2800 | .Case<linalg::UnPackOp>([&](auto unpackOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2800:17: note: type from template argument can be inferred and removed
2800 | .Case<linalg::UnPackOp>([&](auto unpackOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2805:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2805 | .Case<tensor::InsertSliceOp>([&](auto sliceOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2805:44: note: replace 'auto' with explicit type
2805 | .Case<tensor::InsertSliceOp>([&](auto sliceOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp:2805:17: note: type from template argument can be inferred and removed
2805 | .Case<tensor::InsertSliceOp>([&](auto sliceOp) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1734:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1734 | .Case<TypeAttr>([&](auto typeAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1734:27: note: replace 'auto' with explicit type
1734 | .Case<TypeAttr>([&](auto typeAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1734:13: note: type from template argument can be inferred and removed
1734 | .Case<TypeAttr>([&](auto typeAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1739:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1739 | .Case<IntegerAttr>([&](auto intAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1739:30: note: replace 'auto' with explicit type
1739 | .Case<IntegerAttr>([&](auto intAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1739:13: note: type from template argument can be inferred and removed
1739 | .Case<IntegerAttr>([&](auto intAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1743:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1743 | .Case<UnitAttr>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1743:27: note: replace 'auto' with explicit type
1743 | .Case<UnitAttr>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1743:13: note: type from template argument can be inferred and removed
1743 | .Case<UnitAttr>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1747:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1747 | .Case<LLVM::ConstantRangeAttr>([&](auto rangeAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1747:42: note: replace 'auto' with explicit type
1747 | .Case<LLVM::ConstantRangeAttr>([&](auto rangeAttr) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/ModuleTranslation.cpp:1747:13: note: type from template argument can be inferred and removed
1747 | .Case<LLVM::ConstantRangeAttr>([&](auto rangeAttr) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp:40:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
40 | .Case<memref::SubViewOp>([&](memref::SubViewOp subviewOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp:48:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
48 | .Case<memref::ExpandShapeOp>([&](memref::ExpandShapeOp expandShapeOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp:54:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
54 | .Case<memref::CollapseShapeOp>(
/home/jakub/llvm/test/src/mlir/lib/Conversion/MathToFuncs/MathToFuncs.cpp:815:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
815 | .Case<math::CountLeadingZerosOp>([&](math::CountLeadingZerosOp op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/MathToFuncs/MathToFuncs.cpp:827:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
827 | .Case<math::IPowIOp>([&](math::IPowIOp op) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/MathToFuncs/MathToFuncs.cpp:840:10: warning: redundant explicit template argument [llvm-type-switch-case-types]
840 | .Case<math::FPowIOp>([&](math::FPowIOp op) {
/home/jakub/llvm/test/src/mlir/test/lib/Dialect/Linalg/TestLinalgElementwiseFusion.cpp:28:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
28 | .Case<linalg::LinalgOp>([&](linalg::LinalgOp linalgOp) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2661:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2661 | .Case<TransformHandleTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2661:51: note: replace 'auto' with explicit type
2661 | .Case<TransformHandleTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2661:17: note: type from template argument can be inferred and removed
2661 | .Case<TransformHandleTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2664:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2664 | .Case<TransformValueHandleTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2664:56: note: replace 'auto' with explicit type
2664 | .Case<TransformValueHandleTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2664:17: note: type from template argument can be inferred and removed
2664 | .Case<TransformValueHandleTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2667:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
2667 | .Case<TransformParamTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2667:50: note: replace 'auto' with explicit type
2667 | .Case<TransformParamTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/Transform/IR/TransformOps.cpp:2667:17: note: type from template argument can be inferred and removed
2667 | .Case<TransformParamTypeInterface>([&](auto x) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:158:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
158 | .Case<arith::ExtFOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:158:36: note: replace 'auto' with explicit type
158 | .Case<arith::ExtFOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:158:17: note: type from template argument can be inferred and removed
158 | .Case<arith::ExtFOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:163:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
163 | .Case<arith::ExtSIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:163:37: note: replace 'auto' with explicit type
163 | .Case<arith::ExtSIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:163:17: note: type from template argument can be inferred and removed
163 | .Case<arith::ExtSIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:168:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
168 | .Case<arith::ExtUIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:168:37: note: replace 'auto' with explicit type
168 | .Case<arith::ExtUIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:168:17: note: type from template argument can be inferred and removed
168 | .Case<arith::ExtUIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:176:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
176 | .Case<arith::ExtFOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:176:36: note: replace 'auto' with explicit type
176 | .Case<arith::ExtFOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:176:17: note: type from template argument can be inferred and removed
176 | .Case<arith::ExtFOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:181:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
181 | .Case<arith::ExtSIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:181:37: note: replace 'auto' with explicit type
181 | .Case<arith::ExtSIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:181:17: note: type from template argument can be inferred and removed
181 | .Case<arith::ExtSIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:186:12: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
186 | .Case<arith::ExtUIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:186:37: note: replace 'auto' with explicit type
186 | .Case<arith::ExtUIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/ArmSME/Transforms/OuterProductFusion.cpp:186:17: note: type from template argument can be inferred and removed
186 | .Case<arith::ExtUIOp>([&](auto) {
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:435:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
435 | .Case<omp::TargetUpdateOp>([&](auto op) { checkDepend(op, result); })
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:435:38: note: replace 'auto' with explicit type
435 | .Case<omp::TargetUpdateOp>([&](auto op) { checkDepend(op, result); })
/home/jakub/llvm/test/src/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:435:13: note: type from template argument can be inferred and removed
435 | .Case<omp::TargetUpdateOp>([&](auto op) { checkDepend(op, result); })
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4130:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4130 | .Case<mlir::Float6E2M3FNType>([&](mlir::Float6E2M3FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4133:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4133 | .Case<mlir::Float6E3M2FNType>([&](mlir::Float6E3M2FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4158:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4158 | .Case<mlir::Float8E4M3FNType>([&](mlir::Float8E4M3FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4161:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4161 | .Case<mlir::Float8E5M2Type>([&](mlir::Float8E5M2Type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4164:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4164 | .Case<mlir::Float8E8M0FNUType>([&](mlir::Float8E8M0FNUType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4185:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4185 | .Case<mlir::Float8E4M3FNType>([&](mlir::Float8E4M3FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4188:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4188 | .Case<mlir::Float8E5M2Type>([&](mlir::Float8E5M2Type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4223:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
4223 | .Case<Float8E4M3FNType>([&](Float8E4M3FNType type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4227:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
4227 | .Case<Float8E5M2Type>([&](Float8E5M2Type type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4263:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
4263 | .Case<Float6E2M3FNType>([&](Float6E2M3FNType type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4267:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
4267 | .Case<Float6E3M2FNType>([&](Float6E3M2FNType type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4291:12: warning: redundant explicit template argument [llvm-type-switch-case-types]
4291 | .Case<Float4E2M1FNType>([&](Float4E2M1FNType type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4496:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4496 | .Case<mlir::Float8E4M3FNType>([&](mlir::Float8E4M3FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4500:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4500 | .Case<mlir::Float8E5M2Type>([&](mlir::Float8E5M2Type) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4515:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4515 | .Case<mlir::Float6E2M3FNType>([&](mlir::Float6E2M3FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4519:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4519 | .Case<mlir::Float6E3M2FNType>([&](mlir::Float6E3M2FNType) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp:4534:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
4534 | .Case<mlir::Float4E2M1FNType>([&](mlir::Float4E2M1FNType) {
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1102:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1102 | .Case<Float16Type>([](auto) { return "Dh"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1102:29: note: replace 'auto' with explicit type
1102 | .Case<Float16Type>([](auto) { return "Dh"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1102:13: note: type from template argument can be inferred and removed
1102 | .Case<Float16Type>([](auto) { return "Dh"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1103:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1103 | .Case<Float32Type>([](auto) { return "f"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1103:29: note: replace 'auto' with explicit type
1103 | .Case<Float32Type>([](auto) { return "f"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1103:13: note: type from template argument can be inferred and removed
1103 | .Case<Float32Type>([](auto) { return "f"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1104:8: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
1104 | .Case<Float64Type>([](auto) { return "d"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1104:29: note: replace 'auto' with explicit type
1104 | .Case<Float64Type>([](auto) { return "d"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1104:13: note: type from template argument can be inferred and removed
1104 | .Case<Float64Type>([](auto) { return "d"; })
/home/jakub/llvm/test/src/mlir/lib/Conversion/SPIRVToLLVM/SPIRVToLLVM.cpp:1105:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
1105 | .Case<IntegerType>([isSigned](IntegerType intTy) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:782:8: warning: redundant explicit template argument [llvm-type-switch-case-types]
782 | .Case<LLVMStructType>([&](LLVMStructType structType) -> LogicalResult {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:3245:15: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
3245 | .Case<LandingpadOp>([&](auto landingpad) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:3245:38: note: replace 'auto' with explicit type
3245 | .Case<LandingpadOp>([&](auto landingpad) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:3245:20: note: type from template argument can be inferred and removed
3245 | .Case<LandingpadOp>([&](auto landingpad) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:3251:15: warning: lambda parameter needlessly uses 'auto', use explicit type instead [llvm-type-switch-case-types]
3251 | .Case<ResumeOp>([&](auto resume) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:3251:34: note: replace 'auto' with explicit type
3251 | .Case<ResumeOp>([&](auto resume) {
/home/jakub/llvm/test/src/mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp:3251:20: note: type from template argument can be inferred and removed
3251 | .Case<ResumeOp>([&](auto resume) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment