[llvm] [InstCombine] Declare command line options in TableGen (PR #227948)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 22:50:22 PDT 2026
================
@@ -0,0 +1,45 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+include "llvm/Option/LibraryOptions.td"
+
+def InstCombineCLOptions : OptionsStruct<prefix = "instcombine-">;
+
+defm : BoolField<"instcombine-code-sinking", "1",
----------------
aengelke wrote:
bools should be true/false?
https://github.com/llvm/llvm-project/pull/227948
More information about the llvm-commits
mailing list