================ @@ -522,6 +524,16 @@ DECLARE_CONVERT_OP_TO_GPU_RUNTIME_CALL_PATTERN(SetCsrPointersOp) void GpuToLLVMConversionPass::runOnOperation() { MLIRContext *context = &getContext(); + + // Perform progressive lowering of vector transfer operations. + { + RewritePatternSet patterns(&getContext()); + // Vector transfer ops with rank > 1 should be lowered with VectorToSCF. + vector::populateVectorTransferLoweringPatterns(patterns, + /*maxTransferRank=*/1); + (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)); ---------------- MaheshRavishankar wrote:
Maybe this should return a `signalPassFailure` instead of just ignoring the result https://github.com/llvm/llvm-project/pull/119975 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits