[llvm-branch-commits] [clang] [CIR] Upstream ComplexImagPtrOp for ComplexType (PR #144236)
Henrich Lauko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jul 11 07:29:15 PDT 2025
================
@@ -1775,6 +1775,44 @@ OpFoldResult cir::ComplexCreateOp::fold(FoldAdaptor adaptor) {
return cir::ConstComplexAttr::get(realAttr, imagAttr);
}
+//===----------------------------------------------------------------------===//
----------------
xlauko wrote:
These are copy/paste. Can you extract one common implementation.
https://github.com/llvm/llvm-project/pull/144236
More information about the llvm-branch-commits
mailing list