llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clangir Author: Andy Kaylor (andykaylor) <details> <summary>Changes</summary> A recent change introduced a failure in debug builds due to an incorrect level of indirection inside an assert. This fixes that. --- Full diff: https://github.com/llvm/llvm-project/pull/169715.diff 1 Files Affected: - (modified) clang/lib/CIR/CodeGen/CIRGenFunction.cpp (+1-1) ``````````diff diff --git a/clang/lib/CIR/CodeGen/CIRGenFunction.cpp b/clang/lib/CIR/CodeGen/CIRGenFunction.cpp index 5150a1682f712..22128ed3521f8 100644 --- a/clang/lib/CIR/CodeGen/CIRGenFunction.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenFunction.cpp @@ -1142,7 +1142,7 @@ CIRGenFunction::VlaSizePair CIRGenFunction::getVLAElements1D(const VariableArrayType *vla) { mlir::Value vlaSize = vlaSizeMap[vla->getSizeExpr()]; assert(vlaSize && "no size for VLA!"); - assert(vlaSize->getType() == sizeTy); + assert(vlaSize.getType() == sizeTy); return {vlaSize, vla->getElementType()}; } `````````` </details> https://github.com/llvm/llvm-project/pull/169715 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
