Commit bc6834f
authored
[mlir][spirv] Fix tablegen generator script's stripping of prefixes (#101378)
This script looks for existing definitions with the `SPIRV_` prefix, so
that it can preserve them when updating the file. When the commit
2d62833 changed the prefix from `SPV_`,
the number of characters to strip from matched names was not updated,
which broke this feature. This commit fixes remaining cases that weren't
fixed by 339c87a.
The relationship of this script to the files it is meant to maintain is
still bitrotten in other ways.1 parent a1ba4fb commit bc6834f
1 file changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
540 | 543 | | |
541 | 544 | | |
542 | 545 | | |
| |||
637 | 640 | | |
638 | 641 | | |
639 | 642 | | |
640 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
641 | 649 | | |
642 | 650 | | |
643 | 651 | | |
| |||
959 | 967 | | |
960 | 968 | | |
961 | 969 | | |
962 | | - | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
963 | 976 | | |
964 | 977 | | |
965 | 978 | | |
966 | 979 | | |
967 | | - | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
968 | 984 | | |
969 | 985 | | |
970 | 986 | | |
| |||
0 commit comments