[clang] [CIR] [Upstream local initialization for ArrayType (PR #132974)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 26 15:07:41 PDT 2025
================
@@ -620,6 +682,28 @@ mlir::LogicalResult CIRToLLVMStoreOpLowering::matchAndRewrite(
return mlir::LogicalResult::success();
}
+/// Switches on the type of attribute and calls the appropriate conversion.
+mlir::Value lowerCirAttrAsValue(mlir::Operation *parentOp,
----------------
andykaylor wrote:
There was already a definition of this function. What you're adding here only differs in that it adds a dataLayout argument which isn't used.
https://github.com/llvm/llvm-project/pull/132974
More information about the cfe-commits
mailing list