[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
Mon Jul 7 07:33:55 PDT 2025
================
@@ -192,6 +192,31 @@ class CodeGenOptions : public CodeGenOptionsBase {
return getProfileUse() == llvm::driver::ProfileCSIRInstr;
}
+ /// Controls the various implementations for complex division.
----------------
tarunprabhu wrote:
I think that it should be moved, but since it is in `LangOptions` in clang, and not `CodeGenOptions`, we would need some reviewers from the `clang` as well. In the interest of not blocking this PR, let's leave things as they are, but it would be good to avoid this duplication.
https://github.com/llvm/llvm-project/pull/146641
More information about the flang-commits
mailing list