================ @@ -74,4 +74,26 @@ The ComplexToStandard dialect does still call into libm for some floating point math operations, however these don't have the same ABI issues as the complex libm functions. +The flang driver option `-fcomplex-arithmetic=` allows you to select whether +complex number division is lowered to function calls or to the `complex.div` +operation in the MLIR complex dialect. To avoid the ABI issues mentioned above, +the selection between function calls and the `complex.div` is made during the +lowering phase. The behavior of this option is as follows: ---------------- tarunprabhu wrote:
```suggestion the choice of function calls or the `complex.div` operation is made during the lowering phase. The behavior of this option is as follows: ``` https://github.com/llvm/llvm-project/pull/146641 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits