[Mlir-commits] [mlir] [mlir][spirv] Restructure code in `SPIRVConversion.cpp`. NFC. (PR #99393)
Jakub Kuderski
llvmlistbot at llvm.org
Wed Jul 17 21:30:59 PDT 2024
================
@@ -855,16 +899,6 @@ FuncOpConversion::matchAndRewrite(func::FuncOp funcOp, OpAdaptor adaptor,
return success();
}
-void mlir::populateBuiltinFuncToSPIRVPatterns(SPIRVTypeConverter &typeConverter,
- RewritePatternSet &patterns) {
- patterns.add<FuncOpConversion>(typeConverter, patterns.getContext());
-}
-
-//===----------------------------------------------------------------------===//
-// func::FuncOp Conversion Patterns
-//===----------------------------------------------------------------------===//
-
-namespace {
/// A pattern for rewriting function signature to convert vector arguments of
/// functions to be of valid types
struct FuncOpVectorUnroll final : OpRewritePattern<func::FuncOp> {
----------------
kuhar wrote:
ah, ok 👍
https://github.com/llvm/llvm-project/pull/99393
More information about the Mlir-commits
mailing list