[clang] [CIR] Convert CIR to LLVM in one shot (PR #243162)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 17 02:40:20 PST 2026
erichkeane wrote:
> The test churn comes from `ComplexRealOp/ComplexImagOp::fold` no longer seeing a `cir.complex.create` once it has been replaced in place. I believe the two lowerings can use `rewriter.createOrFold<LLVM::ExtractValueOp>(…)` instead, so that `ExtractValueOp::fold` looks through the insertvalue chain?
Oh! That definitely confirms that something hinky was happening here :) I think I'd like to see this rebased on your other patch, which LGTM.
https://github.com/llvm/llvm-project/pull/243162
More information about the cfe-commits
mailing list