[flang-commits] [flang] [flang][FIRToMemRef] [flang][fir-to-memref] Lower complex projected slices via memref<...x2xT> reinterpretation (PR #196123)

Susan Tan ス-ザン タン via flang-commits flang-commits at lists.llvm.org
Fri May 8 09:02:26 PDT 2026


================
@@ -150,6 +150,7 @@ class FIRToMemRef : public fir::impl::FIRToMemRefBase<FIRToMemRef> {
     SmallVector<Value> shiftVec;
     SmallVector<Value> sliceVec;
     bool hasProjectedSlice = false;
+    std::optional<bool> projectionIsImaginary; // set when hasProjectedSlice
----------------
SusanTan wrote:

great suggestion! changed


https://github.com/llvm/llvm-project/pull/196123


More information about the flang-commits mailing list