Commit 423fb6a
committed
[TableGen][GISel] Remove check for LLT when emitting renderers
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.1 parent a72bfc5 commit 423fb6a
File tree
2 files changed
+22
-13
lines changed- llvm
- test/TableGen/GlobalISelEmitter
- utils/TableGen
2 files changed
+22
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
11 | 33 | | |
12 | 34 | | |
13 | 35 | | |
| |||
20 | 42 | | |
21 | 43 | | |
22 | 44 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 45 | | |
28 | 46 | | |
29 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1246 | 1246 | | |
1247 | 1247 | | |
1248 | 1248 | | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | 1249 | | |
1259 | 1250 | | |
1260 | 1251 | | |
| |||
0 commit comments