[PATCH] D154939: [TableGen] Deprecate old GI Combiner Emitter
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 04:17:19 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb50fe313e8da: [TableGen] Deprecate old GI Combiner Emitter (authored by Pierre-vh).
Changed prior to commit:
https://reviews.llvm.org/D154939?vs=538999&id=541952#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154939/new/
https://reviews.llvm.org/D154939
Files:
llvm/docs/CommandGuide/tblgen.rst
llvm/utils/TableGen/GICombinerEmitter.cpp
Index: llvm/utils/TableGen/GICombinerEmitter.cpp
===================================================================
--- llvm/utils/TableGen/GICombinerEmitter.cpp
+++ llvm/utils/TableGen/GICombinerEmitter.cpp
@@ -1019,6 +1019,13 @@
//===----------------------------------------------------------------------===//
static void EmitGICombiner(RecordKeeper &RK, raw_ostream &OS) {
+ PrintWarning(
+ "'-gen-global-isel-combiner' is deprecated and will be removed soon; "
+ "please use '-gen-global-isel-combiner-match-table' instead");
+ PrintNote(
+ "See "
+ "https://discourse.llvm.org/t/rfc-matchtable-based-globalisel-combiners");
+
CodeGenTarget Target(RK);
emitSourceFileHeader("Global Combiner", OS);
Index: llvm/docs/CommandGuide/tblgen.rst
===================================================================
--- llvm/docs/CommandGuide/tblgen.rst
+++ llvm/docs/CommandGuide/tblgen.rst
@@ -507,11 +507,17 @@
.. option:: -gen-global-isel-combiner
- Generate GlobalISel combiner.
+ (Deprecated, pending removal)
+ Generate legacy GlobalISel combiner.
+
+.. option:: -gen-global-isel-combiner-matchtable
+
+ Generate MatchTable-based GlobalISel combiner.
.. option:: -combiners=list
- Make -gen-global-isel-combiner emit the specified combiners.
+ Make -gen-global-isel-combiner and -gen-global-isel-combiner-matchtable
+ emit the specified combiners.
.. option:: -gicombiner-show-expansions
@@ -524,8 +530,8 @@
.. option:: -gicombiner-stop-after-parse
- Make -gen-global-isel-combiner stop processing after parsing rules
- and dump state.
+ Make -gen-global-isel-combiner and -gen-global-isel-combiner-matchtable stop
+ processing after parsing rules and dump state.
.. option:: -gen-instr-info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154939.541952.patch
Type: text/x-patch
Size: 1765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/6cd3d72f/attachment.bin>
More information about the llvm-commits
mailing list