================ @@ -1775,6 +1775,44 @@ OpFoldResult cir::ComplexCreateOp::fold(FoldAdaptor adaptor) { return cir::ConstComplexAttr::get(realAttr, imagAttr); } +//===----------------------------------------------------------------------===// ---------------- AmrDeveloper wrote:
I am not sure if it is worth creating a function and finding a way to use `emitOpError` to report error that operator from it 🤔 https://github.com/llvm/llvm-project/pull/144236 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits