[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:51 PDT 2025
================
@@ -9,6 +9,7 @@
#ifndef FORTRAN_OPTIMIZER_CODEGEN_CODEGEN_H
#define FORTRAN_OPTIMIZER_CODEGEN_CODEGEN_H
+#include "flang/Frontend/CodeGenOptions.h"
----------------
tarunprabhu wrote:
I think the `CodeGenOptions.h` header is included because of the `ComplexRangeKind` enum. If that is moved to `llvm/Frontend/Driver/CodeGenOptions.h`, we don't have this issue. It may be worth doing it in this PR, but I am ok with moving it in a separate PR as well.
https://github.com/llvm/llvm-project/pull/146641
More information about the flang-commits
mailing list