[PATCH] D114125: [Flang] Add a factory class for creating Complex Ops

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 01:37:10 PST 2021


awarzynski added inline comments.


================
Comment at: flang/include/flang/Optimizer/Builder/FIRBuilder.h:60-63
+  /// The LHS and RHS are not always in agreement in terms of
+  /// type. In some cases, the disagreement is between COMPLEX and other scalar
+  /// types. In that case, the conversion must insert/extract out of a COMPLEX
+  /// value to have the proper semantics and be strongly typed.
----------------
[nit] Could you add examples?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114125



More information about the llvm-commits mailing list