[flang-commits] [flang] [flang] Region-based HLFIR operation for conditional expressions lowering (PR #194411)
Caroline Newcombe via flang-commits
flang-commits at lists.llvm.org
Thu May 7 13:59:38 PDT 2026
cenewcombe wrote:
I rewrote `ConditionalOpConversion` to use `hlfir::createTempFromMold` instead of `createAndDeclareTemp` with a callback, which simplifies the conversion by deriving shape, length, and polymorphism from the mold directly. I also implemented the rest of Jean's suggestions. I don't mean to bloat the diff, but given the complexity of the bufferization logic I felt dedicated tests were needed — `bufferize-conditional.fir` covers the different code paths.
https://github.com/llvm/llvm-project/pull/194411
More information about the flang-commits
mailing list