================
@@ -3289,6 +3289,35 @@ mlir::LogicalResult
CIRToLLVMGetMemberOpLowering::matchAndRewrite(
}
}
+mlir::LogicalResult CIRToLLVMExtractMemberOpLowering::matchAndRewrite(
+ cir::ExtractMemberOp op, OpAdaptor adaptor,
+ mlir::ConversionPatternRewriter &rewriter) const {
+ std::int64_t indecies[1] = {static_cast<std::int64_t>(op.getIndex())};
+
+ mlir::Type recordTy = op.getRecord().getType();
+ if (auto llvmStructTy =
+ mlir::dyn_cast<mlir::LLVM::LLVMStructType>(recordTy)) {
----------------
vishruth-thimmaiah wrote:
Yep, I think this can be removed.
https://github.com/llvm/llvm-project/pull/173512
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits