aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2024-12-26 17:45:29 +0300
committerGitHub <noreply@github.com>2024-12-26 17:45:29 +0300
commit4a92c27f9d29d065156647f9bcc44a8418c98efa (patch)
treed3a925adbf5aeb9c65e680032072cba4f555b661 /llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
parentc21a3776c94eef46ea43192c6d0b8df6258b6489 (diff)
downloadllvm-4a92c27f9d29d065156647f9bcc44a8418c98efa.zip
llvm-4a92c27f9d29d065156647f9bcc44a8418c98efa.tar.gz
llvm-4a92c27f9d29d065156647f9bcc44a8418c98efa.tar.bz2
[TableGen][GISel] Remove check for LLT when emitting renderers (#121144)
Types used in the destination DAG of a pattern should not matter for GlobalISel. All necessary checks are emitted in the form of matchers when traversing the source DAG. In particular, the check prevented importing patterns containing iPTR in the middle of the destination DAG. This reduces the number of skipped patterns on Mips and RISCV: ``` Mips 1270 -> 1212 (-58) RISCV 42165 -> 42088 (-77) ``` Most of these patterns are for atomic operations.
Diffstat (limited to 'llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp')
0 files changed, 0 insertions, 0 deletions