[flang-commits] [clang] [flang] [flang] Add -fcomplex-arithmetic= option and select complex division algorithm (PR #146641)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Fri Jul 4 05:40:54 PDT 2025
================
@@ -1023,12 +1023,12 @@ defm offload_uniform_block : BoolFOption<"offload-uniform-block",
BothFlags<[], [ClangOption], " that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise)">>;
def fcomplex_arithmetic_EQ : Joined<["-"], "fcomplex-arithmetic=">, Group<f_Group>,
- Visibility<[ClangOption, CC1Option]>,
+ Visibility<[ClangOption, CC1Option, FlangOption, FC1Option]>,
Values<"full,improved,promoted,basic">, NormalizedValuesScope<"LangOptions">,
NormalizedValues<["CX_Full", "CX_Improved", "CX_Promoted", "CX_Basic"]>;
----------------
kiranchandramohan wrote:
Looks Good. Would you mind adding some information to https://github.com/llvm/llvm-project/blob/main/flang/docs/ComplexOperations.md as well?
The Clang documentation in `clang/docs/UsersManual.rst` is more detailed.
https://github.com/llvm/llvm-project/pull/146641
More information about the flang-commits
mailing list