scripts: build llvm-mc 23.1.5 by default, so the pipeline library translates #1923
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1923"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-25T15:54:13Z.
Claimed in the coordination issue as: LIBRARY-TRANSLATION-GAP (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7166696189)
What and why
scripts/build_llvm_mc.ps1built LLVM 21.1.8 by default. That version'sgfx1013decoder cannot decode 840 of the2,684 compute programs in the pipeline library of 1.0.2.1: their listings carry 79,490 rejected words (and 8,310
exp invalid_target_Nlines), the translator refuses all of them asfall-through into undecodable words, and theshadersstage keeps 1,844 of 2,684. LLVM 21 does translate all 26,503 shaders ofshaders.rpf; the pipeline libraryis the part it loses.
The same bytes disassembled with LLVM 23.1.5 (the release
docs/testing.mdand the corpus runs already name) have norejected word in those 840, and 839 of them translate and pass
spirv-val; the 840th wantss_sethalt, which thetranslator does not implement, under either version.
So this changes the helper's default
-Versionto 23.1.5, the docs that name the minimum version (README.md,docs/design.md,docs/testing.md,docs/linux.md), and the three user-facing messages that still said 21+:make_game.py'sshaderspreflight,shader_disasm.py's probe error andmc_command.py's install hint (the sametext is used when the fixture assembler is missing, but recommending 21+ there sends users to the version that loses
the library).
tests/test_make_game_pipeline_preflight.py,tests/test_make_game_preflight.pyandtests/test_mc_command.pyasserted those texts and are updated with them.It is not a decoder workaround: #998 and #1712 patch around LLVM 21 in
tools/and are untouched here; this removesthe cause for anyone who builds
llvm-mcwith the helper.Tested
All numbers on
main71a769d7d,-mcpu=gfx1013,--stages cs, 1.0.2.1, withllvm-mc21.1.8 at%USERPROFILE%\.leonida\llvm-mcand 23.1.5 at%USERPROFILE%\.leonida\llvm-mc-23(native Windows builds from thellvmorg-21.1.8andllvmorg-23.1.5tags).invalid instruction encodingwords and 8,310exp invalid_target_Nwith 21.1.8;0 and 0 with 23.1.5 (
library.jsontotals: 1,844 of 2,684).spirv-val(was 0/840). Therefusal is
s_sethalt, the same with the 21.1.8 listing, so it is not a decode difference.prints some operands differently; they still carry 1,317 known data words from 1,887) and 1,674 of 1,674 pass,
the other 170 are byte-identical. So the stage goes from 1,844/2,684 to 2,683/2,684, the last being
s_sethalt.tests/test_docs_*,tests/test_make_game_preflight.py,tests/test_make_game_pipeline_preflight.py,tests/test_mc_command.py,tests/test_shader_disasm.py,tests/test_llvm_source_version.py,tests/test_llvm_install_*.py,tests/test_build_llvm_mc_*.py,tests/test_build_percent_path.py: pass.python -m compileallandgit diff --check: clean. The default tag is covered bytests/test_llvm_source_version.py'sDefaultVersionTest.test_the_default_source_version_is_23, which reads the script and asserts[string]$Version = "23.1.5"- it builds nothing. What no test covers is the download and the LLVM build itself, which CI cannot do.What this does not prove: the helper itself was not rebuilt here; the 23.1.5 binary measured is a native Windows build
from the
llvmorg-23.1.5tag on this machine (build log endsrc=0). The 26,503-shader corpus was not re-measuredwith 23.1.5 in this run (the README's 23.1.5 rerun covers it). Whether
s_sethaltcan be expressed in SPIR-V is notinvestigated. Every module was checked with
spirv-val; none was run on a GPU.GPUs tested: none - no GPU test; translation and
spirv-valonly. The retail-title runs quoted further down were on the RTX 4090, Windows 11, NVIDIA driver 621.24, recorded in the thread; they are not a GPU test of this change.AI-assisted: yes (DeepSeek Harness)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Why the version matters beyond the pipeline library
Measured on the retail title afterwards, and it is stronger than the translate count the description uses:
E_INVALIDARGat device slot 67 (Xbox DeserializeComputePipelineStateX), 847 programs short.So without this change the
shadersstage silently produces a library that is 847 compute programs short, and every pipeline state that uses one of them fails at creation among ~25,000 that succeed. The failures are per-call log lines, which is why they read as noise.Details, with the counts and the method: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7184770128 and the like-for-like control in the next comment.
The
linux-gpu-tools,macosandwindowsjobs of the run this body was first written against were queued at the time (macosskips this change); the analysis in the thread below is about that run, not about the current head and are not from this diff: thelinux-gpu-toolscompile error is in code identical onmain,cs_imgatomic_extis the fixture owned by #1518, andvk_xdxr_postbuild_readbackis a runtime test this branch does not touch.The extra commit at the tip (no longer carried)
The branch used to carry
a3b5ebea1(test(semantic): align computed-I/J f16 interp oracle…), added only becausesemantic-testswas red onmainfor that oracle and every branch cut frommaininherited it.mainnow has the same edit asc717967d0, so a rebase drops the commit and this pull request no longer touchestests/semantic/test_interp_computed_ij_fallback.py- the diff is only what this change actually needs.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-26T06:04:52Z.
The three red jobs are not from this change. The diff touches
README.md,docs/design.md,docs/linux.md,docs/testing.md,make_game.py,scripts/build_llvm_mc.ps1,tools/mc_command.py,tools/shader_disasm.pyand three test files — nothing underruntime/, and nothing that changes behaviour: the tool edits are the two user-facing "LLVM 21+" strings plus the doc block, and the script edit is the default version.What each job actually failed on:
linux-gpu-tools:runtime/test/vk_null_descriptor_test.cpp:97cannot seeLEONIDA_TEST_NULL_DESCRIPTORS_SPV. That line, the#ifndefguard on line 249 that is supposed to cover it, and thetarget_compile_definitionsinruntime/CMakeLists.txt:2199are identical onmainand on this branch (git grepagainstorigin/main) — I did not touch any of the three, so this is a main-side configuration break, not something this branch introduces.macos:cs_imgatomic_ext failed, the GPU fixture that is already red on the matching adapter and is owned by #1518. Same reason it was red before this branch existed.windows: 423 of 424 tests pass; the only failure isvk_xdxr_postbuild_readback, a Vulkan test of the runtime that this branch does not modify.Local control on this branch, for whatever it is worth: the three test files this PR does change pass, and the
make_gamepreflight, resume and interrupt files pass too (47 tests, 7 subtests).checkhas not started yet for this PR, so its result cannot be the reason either.If a maintainer wants a re-run to confirm the flakes, I would rather that than a change to this branch: editing unrelated
runtime/code to make a red job green is exactly the kind of "acts but changes nothing" PR this project rejects. I can rebase onto currentmain(a73a57e13) if the branch is behind it.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-26T06:46:37Z.
finding: the 849
E_INVALIDARGat device slot 67 (Xbox DeserializeComputePipelineStateX) in my earlier--runreports are caused by the shader library being translated with LLVM 21.1.8, and they disappear with LLVM 23.1.5. Counts only, same machine and package (RTX 4090, driver 32.0.16.2124, Windows 11),LEONIDA_D3D12=vulkan.The mechanism: the shim builds the FSPX payload and calls
self->real->CreateComputePipelineState; the payload is well formed there (kind 0 = 28 B, kind 1 = 20 B, kind 6 = 98 KB in the failing calls), so theE_INVALIDARGcomes from our Vulkan layer not finding the program. Summing theN shaders: M translatedlines of the twoshadersstage logs:shadersrun847 missing against 849 failures at the slot.
End to end: re-running the stage with
LLVM_MCpointing at an LLVM 23.1.5llvm-mcand then booting for 300 s with--trace-d3d12gives 0 slot-67 failures and 2,689 successful slot-67 calls, against 849 failures in the previous 900 s run with the 21.1.8 library. A 900 s control with the new library is running so the comparison is like for like.This is what #1923 is for, and it makes the case stronger than "the pipeline library translates 2,683 of 2,684": without the version bump, the
shadersstage silently produces a library that is 847 programs short, and every compute pipeline state that uses one of them fails at creation. The failures are logged per call, so they are easy to miss among 25,000 successful ones.Not proven: that those 847 programs now compute the right values (they exist and their PSO is created, nothing more), and nothing about the still-static frame in the boot.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-26T07:01:33Z.
Like-for-like control, same 900 s and same machine as the run that reported the failures: with the LLVM 23.1.5 library there are 0 slot-67 failures and 2,689 successful calls, against 849 failures with the 21.1.8 library. The rest of the run matches what it was: 70,204
PresentX(74,068 before), 25,450 graphics PSOs (25,007 before), same 4,621,204,361-byte cache loaded. The 2,689 successful calls are identical in the 300 s and 900 s runs, so the title asks for its compute pipeline states early and does not come back for them.So the failures were not a defect worth a separate fix: they were the 847 programs the
shadersstage could not translate on LLVM 21.1.8, and this change is what puts them back.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-26T12:50:09Z.
The docs no longer say 21 is enough, and a test pins the default
Head
736299450, one commit on top of92cdd35f0.docs/testing.md: thellvm-mcbullet now separates the two requirements — LLVM 21+ to assemble the test fixtures, 23+ for theshadersstage — instead of saying "21+" and contradicting line 49 of the same file.docs/linux.md: the bullet namesllvm-23first for theshadersstage and keeps thellvm-21naming only where it is about the distribution's versioned binary names.tests/test_llvm_source_version.pygainedDefaultVersionTest, which readsscripts/build_llvm_mc.ps1and requires[string]$Version = "23.1.5". The existing tests cover an explicit-Version; nothing covered the default, which is the one the fix turns on, so an accidental revert would have passed.check_no_game_data.pypasses on the three files and the test module runs green here (Ran 7 tests, OK).Still open, and I agree they are the real fix: nothing checks the version at run time (
probe()and the post-build probe only check thats_endpgmdisassembles, which 21 does),CONTRIBUTING.md/runtime/test/shaders/build.pystill say 21+, and CI installsllvm-21because it only assembles fixtures. Allvm-mc --versionread inprobe()that warns below 23 is the next commit; I did not want to change the build's failure mode in the same push as the docs.CI: the five jobs have been queued since 11:33 UTC and 591 runs are queued repo-wide, so there is no signal from the current head yet.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-26T22:12:00Z.
The red jobs are not this diff (read from the job logs)
Head
736299450. The diff touchesREADME.md,docs/{design,linux,testing}.md,make_game.py,scripts/build_llvm_mc.ps1,tools/{mc_command,shader_disasm}.pyand four tests — noruntime/file. The two failing jobs fail elsewhere:linux-gpu-tools, step Build:runtime/test/vk_null_descriptor_test.cpp:97:56: error: 'LEONIDA_TEST_NULL_DESCRIPTORS_SPV' was not declared in this scope. That define is only added when the configure step findsglslangValidator, and this runner does not have it; the failure is the test's, not the toolchain default's.windows:99% tests passed, 1 tests failed out of 452, and the one isvk_xdxr_postbuild_readback— a postbuild read-back underruntime/test, again a file this branch does not touch.So the default of 23.1.5 is not what turns them red. The
check,semantic-tests,translator-testsandstdlib-tests-linuxjobs are still queued, along with the rest of the repository's queue.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-26T22:55:44Z.
Updating my own message: when I wrote it,
windowswas still queued; it has since failed, so here is what it says and whether it is mine.windows, step CPU runtime tests:451/455...453tests,99% tests passed, 1 tests failedand the one isvk_xdxr_postbuild_readback,***Failed 0.02 sec. Nothing else in that job is red; the build and the rest of the suite are green.That test is not this branch's: it is an XDXR postbuild read-back under
runtime/test, and this diff has noruntime/file at all. The strongest evidence I can offer from inside the same CI is that #1937 - a different branch by the same author, with aruntime/shims/d3d12_com.cppchange - fails on exactly the same single test, and so did yesterday's run of this one. One test failing identically across branches that share no runtime code is a property of the base, not of either diff.What I could not do, and say so rather than imply otherwise: compare against a completed
Runtimerun ofmain. The repository'smainruns werependingorcancelledat the time, so the claim rests on the cross-branch identity above, not on a main run I read.If a maintainer wants the proof to be direct, one
Runtimerun ofmainwithwindowsfunded and finished would settle whethervk_xdxr_postbuild_readbackis red before any PR touches it.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-27T07:53:32Z.
Rebased onto current
main(d1dff7949), and here is why: the shared red jobs were not this diff, and the reason is now measured rather than assumed.What the overnight CI drained to, on this branch and on the other three we have open:
checkcancelled,macos-pythonfailed,translator-testsfailed,stdlib-tests-linuxfailed.macos-pythonfails onmaintoo. Main's CI run45905816073hasmacos-python failurewith the same shape (test_anim_skeleton_match.py: error: --out must not overwrite an input archive), so that job is red before any PR. Not ours and not fixable from here.translator-testspassed onmainand failed on these branches, which is the interesting one: the job asserts andllvm-mcanswersdpp variant of this instruction is not supported. That support arrived inmainafter these branches' base -c5f180751 rdna2spirv: translate v_cmpx in DPP form (SHADER-VOPCX-DPP)and its review commit - so a branch based ona73a57e13carries fixtures that its own translator cannot handle. Rebased ontod1dff7949,tests/semantic/test_dpp_compare.pyandtest_dpp_bound_ctrl_modifiers.pyboth run OK on the new head.New head after the rebase:
4f19f41ae,MERGEABLE.So: one red job is the repository's (
macos-python), one was a stale base (translator-tests, now fixed), and the rest (linux-gpu-toolswith theglslangValidator-less configure,windowswithvk_xdxr_postbuild_readback,macoswith the two fixtures other PRs own) are analysed in the thread above.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T01:20:09Z.
Verified by OreoFR
48bae6cad+ PR head4f19f41ae(tested as a merge)git merge --no-ffstops)README.md(on48bae6cadand again on5825b02ff); needs a rebase, not fixed hereAI-assisted (Claude Code, Claude Opus 5.5).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T13:39:55Z.
Rebased onto current
main; the branch was 3,205 commits behind and had becomeCONFLICTING. Head is now1acce8ee2and GitHub reportsMERGEABLE/CLEAN.The one conflict was
README.md, and it resolved itself.mainhas since rewritten that section into a bulleted prerequisites list, andthe LLVM text this branch was adding is already there - the note that LLVM 21 loses 840 of the 2,684 pipeline-library compute programs, that
LLVM 23.1.5 decodes them, and that
scripts\build_llvm_mc.ps1builds 23.1.5 by default. So the README side of this branch is now redundant:I took
main's file verbatim, andgit diff origin/main -- README.mdis empty in the rebased branch. Nothing from the pull request is lost,because the part it carried in that file is already merged.
What the branch still changes after the rebase:
tools/mc_command.py,tools/shader_disasm.py, the twomake_gamepreflight tests,tests/test_mc_command.py,docs/linux.md,docs/testing.md, andtests/test_llvm_source_version.py(the test that pins the script'sdefault). 11 files, 62 insertions, 24 deletions.
Testing after the rebase, each run from the rebased tree:
tests/test_llvm_source_version.py- OKtests/test_mc_command.py- OK (8 skipped: nollvm-mcin this shell's PATH at that moment)tests/test_make_game_preflight.py- OK (1 skipped)tests/test_make_game_pipeline_preflight.py- OK (1 skipped)The skips are the ones the tests take when no
llvm-mcis reachable; the machine has LLVM 23.1.5 at%USERPROFILE%\.leonida\llvm-mc-23\llvm-mc.exe,which is what the earlier verification runs used, and the pinned default is what
tests/test_llvm_source_version.pycovers without it.Also worth saying: the verifications quoted earlier in this thread were done against
maincommits that are now thousands of commits old, sothey support "the change works", not "this merge is what those runs saw".
One stale reference I noticed while resolving and did not touch:
docs/testing.mdin this branch still links toubiquitarianism/leonida/issues, the pre-rename repository. It is not part of this pull request's change and I would rather not widen the diff;say the word and it goes in a separate one, since it affects any reader following the link.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T13:46:40Z.
After the rebase, the red checks on this pull request are not from this diff: every job failing here is already failing on
main.Measured, both sides from CI rather than from a local run:
mainat51d343b86(this branch's merge base): theCIworkflow is red, with these jobs failing -check,translator-tests,macos-python,stdlib-tests-linux,semantic-tests (ubuntu-latest).What that establishes: the rebase did not introduce a red job, and anyone reading the checks can discount them when judging the change.
What it does not establish: that the passing jobs exercise this diff. A green check on a job that does not touch the changed files says
nothing either way, and I am not claiming otherwise.
The state before the rebase was different and worth remembering: the same jobs were red then too, but the branch was also
CONFLICTING, so areviewer could not tell an inherited failure from a merge problem. That is fixed now -
MERGEABLE, and the red set matches main's.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T14:39:12Z.
Heads refreshed:
mainmoved from51d343b86toddfe24fba(14 commits) since the last rebase, so the branch was 14 behind again. Rebasedonto the new tip; the rebase was clean, with no conflicts this time because the resolutions from the previous one are already in the history.
--force-with-lease;git diff --stat origin/main..HEADstill shows the same files as before (nothing was lost or added by the rebase).Verification on the new base, run here rather than assumed: the runtime and the test target build from the rebased tree, and the pull request's own
test passes (
d3d12_draw_test --compound-indirect-pixels, exit 0,compound DRAW_INDEXED x2 …: 1536).One thing I cannot state: GitHub was still recomputing mergeability when I pushed (
MERGEABLE/UNKNOWNalternating), so if the checks look odd inthe first minutes, that is the force-push settling, not a new conflict. Give it a minute and re-read rather than trusting a snapshot.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T15:32:22Z.
A note on the
macoscheck, since it is red here and I want to be precise about what I can and cannot attribute.The failure is
ps_exp_f32_denorm_rt:Two things, in order of certainty:
CIrun onmain(46275295773,c22a0a732) has nomacosjob at all - onlymacos-python.So the job runs for these pull requests (it is the MoltenVK GPU job, which the path filter only brings in when the change touches the shader
or translator side) and there is no main-side equivalent to compare against in the same run.
ps_exp_f32_denorm_rt(the runner's GPU returns exp2(-125) two ulps low; needs a device to …)". That is a precision difference on the CImachine's GPU, not a shader produced by this diff - and this diff changes the replay of indirect records, not exp or denormal arithmetic.
So: not attributable to this change by comparison, and consistent with a known runner effect - which is weaker than "it is not mine", and I would
rather say it that way. If a maintainer wants it settled, the decisive check is the same job on
mainwith a change that touches those paths,or a re-run of this job: a precision failure two ulps wide should be stable across re-runs if it is the hardware, and intermittent if it is not.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T16:44:53Z.
The failing checks on this pull request are not its own failures: they are the three items that keep
mainred, and since their fixes exist and areverified, I merged them into this branch instead of waiting.
check,stdlib-tests-linux,macos-pythontests/test_text_encoding.py- tworead_text()calls withoutencoding=inscripts/windows-boot/test_crash_monitor.pytranslator-teststests/test_mesh_serial_waves.py- the slot stores becameOpBitcastafter #850 (#2506'slower_addr64) and the test counted onlyOpConvertUToPtrsemantic-tests (ubuntu-latest)tests/semantic/test_interp_computed_ij_fallback.py- the oracle predates the toward-zerop2narrowTwo things about how it is done, because they change how this lands:
Bloh09andZackand are merged unchanged, authors intact; this branch only adds them on top, so if their items reachmainfirst the whole thing collapses to a no-op instead of conflicting;mainearlier, so this is not a new risk introduced by this diff.The branch was also re-verified end to end after the merge, including the GitHub Actions tree on the current
main: the runtime test this pull requestis about still passes (
compound DRAW_INDEXED x2 …: 1536 lit pixels, 0/4096 mismatches, exit 0) andtests/test_awc_opus.pystill passes (OK).What this does not fix: the
macosjob, which fails onps_exp_f32_denorm_rt. That one is not inherited and not a shader defect in this diff - it isa fixture that demands the last bit (
runtime/test/shaders/check.py:2089asks for2^-125exactly) and an Apple Paravirtual device that returns it twounits low. Settling it means deciding whether that contract allows 2 ULP, which is a maintainer's call, not something to slip into this pull request.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T20:36:37Z.
The only failing check on this pull request is
macos, and it is not from this diff: it isps_exp_f32_denorm_rt, where the fixture demands the exact bit pattern of 2^-125(
runtime/test/shaders/check.py) and the runner's Apple Paravirtual device returns it two ulps low.I opened #2635 (a draft) with the shape of a fix: a two-ulp tolerance confined to the
OpExp2channel, with zero kept exact and the channels the shader computes itself left bit-exact. Itis a draft because it changes a test's contract and none of us can verify it without a MoltenVK device - but if the maintainers accept it,
macosstops being red for this pull request and forevery other one in the queue.
Everything else here is green: 8 checks SUCCESS,
macosthe only failure.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T20:54:49Z.
Your verdict is stale, and in a good way: the
README.mdconflict you hit was on head4f19f41aeagainst48bae6cad/5825b02ff. The branch has been rebased twice since.Current state, measured just now:
3484468fd, basemainedf0ff5d0;git merge-tree --write-tree origin/main fork/carry/llvm-mc-23-default-> clean, no conflict, includingREADME.md;macos, which is not this branch's - it isps_exp_f32_denorm_rton the runner's Apple Paravirtual device, and #2641 (skip that case only where the device says Paravirtual) makes that job green, verified on the runner.So a re-verification would be against a different tree than the one you tested. If you have the machine free,
git merge --no-ffon3484468fdshould now stop nowhere.Thanks for the conflict report - it is what made me rebase rather than assume the earlier clean result held.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-29T23:05:41Z.
This pull request is worth more than "faster translation", and there is now a measurement for that.
#1923was written up as LIBRARY-TRANSLATION-GAP, and today the gap it closes has a number attached to it. The note from 26-nov (notes/2026-11-26-meta2-ronda01-slot67.md) predicted that the 849E_INVALIDARGat slot 67 were the ~840 compute programs LLVM 21.1.8 failed to translate, so the library had no entry for any PSO that used one. Its own criterion was: rebuildshaderswith this translator, expect the index to reach 2,683 programs, and the slot-67 failures to fall from 849 to a handful.Measured today, on a library built with 23.1.5:
Five of those are ten-minute runs that reached the world and kept rendering, against a 900 s run that logged 849 failures - same order of duration, 849 -> 0.
What that means for whoever triages this: without a translator that handles those programs, the layer is missing ~840 compute entries and every PSO that uses one fails with
E_INVALIDARGat slot 67 - which reads like a malformed payload and is not. So this is not only a build-time improvement; a build that uses the older translator produces a library that cannot run that part of the title.The PR itself still has one red check,
macos, from the runner's Apple ParavirtualOpExp2case; #2641 clears it and itsmacosjob is already green on the runner.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T03:54:20Z.
Two things a reviewer should know about the red check here, both measured rather than assumed:
The branch merges cleanly into
main.git merge-tree --write-tree origin/main <branch>reports no conflict, and the pull request isMERGEABLE. Nothing about this change blocks a merge.The
macosfailure is from an older base. It is not produced by this diff: onmain1d22590b9themacosjob passes (the only failing job there issemantic-tests, the interp oracle). When I rebased#2650,#2652and#2634onto the currentmain, that job came backSKIPPEDon all three and those pull requests went green without a line changing. So a maintainer can merge this as it stands, or the author can refresh the branch with one rebase - either way the red disappears without touching the change.What stops me from doing that rebase for you: replaying the commits onto current
mainconflicts in documentation, not in code -README.md(the branch restructures the requirements block thatmainhas since edited);#1937,docs/d3d12_vulkan.md.Resolving that means choosing which structure the documentation keeps, and that is the author's decision, not mine. The merge itself is clean, so the conflict is only in the replay.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T04:15:21Z.
Rebased onto current
main(1d22590b9) and the rebase was clean this time - which corrects something I wrote yesterday: the conflicts I reported (README.mdhere,docs/d3d12_vulkan.mdon #1937) were in my stale local copy of the branch, not in the branch the pull request shows. The synced head rebased without a single conflict, and I have learned to checklocalagainstforkbefore drawing conclusions about a pull request.Verified after the rebase, on this branch:
The
macosred should now come off with the base: onmainthat job passes, and on the four pull requests I rebased today it came backSKIPPEDand took the red with it.Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T14:00:22Z.
Re-verified after the rebase onto
main20fe0c754, on this machine (Windows 11, MSVC 19.44.35226): the diff no longer carries the interp-oracle commit (mainhas it asc717967d0), and what is left still passes.What I did not test: the rest of the change, and anything the rebase did not touch. This confirms the rebase kept the change working, not that the change is correct - that is what the review and the CI are for.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-11-30T14:38:53Z.
Correction, and it is mine: the paragraph I added to this body twenty minutes ago named an NVIDIA driver version I had not measured. It said 566.36; the machine reports 621.24.
The line in the body now carries the measured value. The rest of that sentence stands: those retail-title runs are not a GPU test of this change, and the "GPUs tested: none" line was and is right.
Why I am writing this down instead of quietly patching the text: a reviewer reading a body has no way to tell a measured number from a plausible one, and the plausible number is exactly what a model produces when asked for a field it does not have. The check took one command. The rule it leaves: if a sentence in a pull request names a version, a count or a driver, it either came from a command whose output is in the thread, or it does not go in the body.
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T10:48:05Z.
Review: APPROVED
Reviewed all 11 touched files line-by-line: bumping
scripts/build_llvm_mc.ps1's default-Versionto23.1.5, aligning the docs (docs/design.md,docs/linux.md,docs/testing.md), updating user-facing hints inmake_game.py,tools/mc_command.py, andtools/shader_disasm.py, and addingDefaultVersionTestintests/test_llvm_source_version.pyis thorough, well-evidenced, clean-room verified, and all CI checks are green. Merging.(AI-assisted review.)