Commit 6690bc2
feat: differential testing CI against LLVM 19 (closes #81)
- Add `.github/workflows/differential.yml`: CI on ubuntu-24.04 installs
llvm-19/clang-19 and runs all differential tests with REQUIRE_LLVM=1
(zero skips enforced)
- Add 51 fixture `.ll` files covering all InstrKind variants plus a
SHA-256 regression hash database (known_hashes.json)
- Expand `differential.rs`: roundtrip_and_validate for each fixture,
check_regression_hashes test, objdump_text helper, semantic exit-code
tests with LLVM and our x86 backend
- Fix printer: `load volatile` / `store volatile` (keyword after opcode,
not before)
- Fix parser: `extractelement` result type was vector type; now correctly
extracts element type from TypeData::Vector
- Re-bootstrap regression hashes after the two bug fixes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 94251a5 commit 6690bc2
File tree
59 files changed
+1663
-34
lines changed- .github/workflows
- src
- llvm-ir-parser
- src
- tests
- fixtures
- llvm-ir/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+1663
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
842 | 849 | | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
843 | 860 | | |
844 | 861 | | |
845 | | - | |
| 862 | + | |
846 | 863 | | |
847 | | - | |
848 | 864 | | |
849 | 865 | | |
850 | 866 | | |
| |||
1092 | 1108 | | |
1093 | 1109 | | |
1094 | 1110 | | |
1095 | | - | |
1096 | | - | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
1097 | 1117 | | |
1098 | 1118 | | |
1099 | 1119 | | |
| |||
1513 | 1533 | | |
1514 | 1534 | | |
1515 | 1535 | | |
1516 | | - | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1517 | 1540 | | |
1518 | 1541 | | |
1519 | 1542 | | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
1520 | 1557 | | |
1521 | 1558 | | |
1522 | 1559 | | |
1523 | | - | |
| 1560 | + | |
1524 | 1561 | | |
1525 | 1562 | | |
1526 | 1563 | | |
| |||
0 commit comments