================ @@ -196,6 +196,21 @@ class CIRToLLVMTrapOpLowering : public mlir::OpConversionPattern<cir::TrapOp> { mlir::ConversionPatternRewriter &) const override; }; +class CIRToLLVMPtrStrideOpLowering + : public mlir::OpConversionPattern<cir::PtrStrideOp> { + mlir::DataLayout const &dataLayout; ---------------- andykaylor wrote:
It's not clear to me why some of these classes store dataLayout and some don't. @bcardosolopes is this an artifact of how the implementation philosophy evolved over time, or is the difference necessary? https://github.com/llvm/llvm-project/pull/132974 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits