[all-commits] [llvm/llvm-project] fcde8c: [TableGen][GlobalISel] Use `GIM_SwitchOpcode` in C...
Pierre van Houtryve via All-commits
all-commits at lists.llvm.org
Wed Sep 20 00:32:45 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fcde8c88eb212ed39ff07fef2863bf3e1adb085e
https://github.com/llvm/llvm-project/commit/fcde8c88eb212ed39ff07fef2863bf3e1adb085e
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M llvm/test/TableGen/GlobalISelCombinerEmitter/builtins/match-table-replacerreg.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-imms.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-patfrag-root.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-permutations.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-variadics.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
Log Message:
-----------
[TableGen][GlobalISel] Use `GIM_SwitchOpcode` in Combiners (#66864)
The call to `initOpcodeValuesMap` was missing, causing the MatchTable to
(unintentionally) not emit a `SwitchMatcher`. Also adds other code
imported from `GlobalISelEmitter.cpp` to ensure rules are sorted by
precedence as well.
Overall this improves GlobalISel compile-time performance by a
noticeable amount. See #66751
More information about the All-commits
mailing list