================
@@ -192,6 +192,31 @@ class CodeGenOptions : public CodeGenOptionsBase {
return getProfileUse() == llvm::driver::ProfileCSIRInstr;
}
+ /// Controls the various implementations for complex division.
----------------
tarunprabhu wrote:
If this is exactly the same as the enum in `clang/Basic/LangOptions`, it could
be moved to `llvm/Frontend/Driver/CodeGenOptions.h` and shared between clang
and flang. There is precedence for this, most recently,
[here](https://github.com/llvm/llvm-project/pull/142892).
https://github.com/llvm/llvm-project/pull/146641
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits