Commit a35ceac
committed
[IR2VEC] Rewrite triples.mir and entities.mir. NFC
These test change and need updating every time a new instruction is added,
including generic G_ global isel instructions. The opcodes of all instructions
change force a manual update of the file, which makes it very high cost for
what it is testing.
I have rewritten it to use regexes for the triplets.mir test and just test a
couple of opcodes in the entities.mir file.
Also change them from REQUIRES: x86_64-linux to REQUIRES:
x86-registered-target, as they should run fine on other targets providing that
the triple is used correctly. It passes successfully on an AArch64 box I tried
it on.1 parent 3d5d32c commit a35ceac
File tree
4 files changed
+43
-7192
lines changed- llvm/test/tools/llvm-ir2vec
- output
4 files changed
+43
-7192
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
Lines changed: 0 additions & 33 deletions
This file was deleted.
0 commit comments