[clang] [CLANG] Full support of complex multiplication and division. (PR #81514)
Zahira Ammarguellat via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 22 11:35:49 PST 2024
================
@@ -1041,28 +1041,15 @@ defm offload_uniform_block : BoolFOption<"offload-uniform-block",
NegFlag<SetFalse, [], [ClangOption, CC1Option], "Don't assume">,
BothFlags<[], [ClangOption], " that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise)">>;
-def fcx_limited_range : Joined<["-"], "fcx-limited-range">,
----------------
zahiraam wrote:
yes there is a way of doing that:
```
def fcx_limited_range : Flag<["-"], "fcx-limited-range">,
Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
HelpText<"Basic algebraic expansions of complex arithmetic operations "
"involving are enabled.">,
Alias<fcomplex_arithmetic_EQ>, AliasArgs<["basic"]>;
```
That still produces the misleading warning for: -fcx-limited-range -fcomplex-arithmetic=improved
https://github.com/llvm/llvm-project/pull/81514
More information about the cfe-commits
mailing list