[flang-commits] [clang] [flang] [flang] Add -fcomplex-arithmetic= option and select complex division algorithm (PR #146641)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Thu Jul 3 07:33:52 PDT 2025
================
@@ -609,6 +609,17 @@ class FirOpBuilder : public mlir::OpBuilder, public mlir::OpBuilder::Listener {
return integerOverflowFlags;
}
+ /// Set ComplexDivisionToRuntimeFlag value for whether complex number division
+ /// is lowered to a runtime function by this builder.
----------------
tarunprabhu wrote:
NIT: It's probably not necessary to repeat what the flag does here. If you would prefer to keep it, consider rephrasing
```suggestion
/// Set ComplexDivisionToRuntimeFlag value. If set to true, complex number
/// division is lowered to a runtime function by this builder.
```
https://github.com/llvm/llvm-project/pull/146641
More information about the flang-commits
mailing list