[flang-commits] [flang] [Flang] Extracting internal constants from scalar literals (PR #73829)

Mats Petersson via flang-commits flang-commits at lists.llvm.org
Tue Jun 25 03:25:35 PDT 2024


================
@@ -86,8 +90,8 @@ DisableOption(BoxedProcedureRewrite, "boxed-procedure-rewrite",
 
 DisableOption(ExternalNameConversion, "external-name-interop",
     "convert names with external convention");
-DisableOption(ConstantArgumentGlobalisation, "constant-argument-globalisation",
-    "disable the local constants to global constant conversion");
+EnableOption(ConstantArgumentGlobalisation, "constant-argument-globalisation",
+    "enable the local constants to global constant conversion");
----------------
Leporacanthicus wrote:

Good spot. It was wrong in the old code too, it adds "disable" automatically, so it had double disable too. 

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


More information about the flang-commits mailing list