[flang-commits] [PATCH] D153516: [flang][hlfir] user defined assignment codegen

Tom Eccles via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jun 23 02:42:21 PDT 2023


tblah added inline comments.


================
Comment at: flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIROrderedAssignments.cpp:382
+    if (fir::isa_trivial(mold.getType()))
+      // fir.ref<T> to T.
+      return hlfir::Entity{builder.create<fir::LoadOp>(loc, input)};
----------------
How do we know that T doesn't need conversion?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153516/new/

https://reviews.llvm.org/D153516



More information about the flang-commits mailing list