Commit 72d8c54
committed
[TableGen][GISel] Allow isTrivialOperatorNode to import patterns with isStore and a memory VT.
This removes the need to explicitly set isTruncStore on truncstorei8
and other similar PatFrags that include truncstore in their frags
DAG.
This allows some new patterns to be imported for AMDGPU as you can
see in the changed test.
The extra isTruncStore were added in ae2b36e, along with some
other tablegen changes to look for MemoryVT along with isTruncStore.
I did not remove the code, because I'm not sure if any out of tree
users have become dependent on it. It's no longer exercised in tree.1 parent f418981 commit 72d8c54
File tree
5 files changed
+5
-8
lines changed- llvm
- include/llvm/Target
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
- utils/TableGen
5 files changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | | - | |
1328 | 1327 | | |
1329 | 1328 | | |
1330 | 1329 | | |
1331 | 1330 | | |
1332 | 1331 | | |
1333 | | - | |
1334 | 1332 | | |
1335 | 1333 | | |
1336 | 1334 | | |
1337 | 1335 | | |
1338 | 1336 | | |
1339 | | - | |
1340 | 1337 | | |
1341 | 1338 | | |
1342 | 1339 | | |
1343 | 1340 | | |
1344 | 1341 | | |
1345 | | - | |
1346 | 1342 | | |
1347 | 1343 | | |
1348 | 1344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
551 | 550 | | |
552 | 551 | | |
553 | 552 | | |
554 | | - | |
555 | 553 | | |
556 | 554 | | |
557 | 555 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| |||
0 commit comments