[flang-commits] [clang] [flang] [flang] Add -fcomplex-arithmetic= option and select complex division algorithm (PR #146641)

via flang-commits flang-commits at lists.llvm.org
Thu Jul 3 00:55:46 PDT 2025


================
@@ -9,6 +9,7 @@
 #ifndef FORTRAN_OPTIMIZER_CODEGEN_CODEGEN_H
 #define FORTRAN_OPTIMIZER_CODEGEN_CODEGEN_H
 
+#include "flang/Frontend/CodeGenOptions.h"
----------------
jeanPerier wrote:

Not requesting to do that here, but  I feel the CodeGenOptions should be defined in Codegen and used/set in Frontend rather than having Codegen depends on Frontend things I think.
This can be refactored independently and is not a huge deal for a header use without adding a library linking dependency.

https://github.com/llvm/llvm-project/pull/146641


More information about the flang-commits mailing list