Post #4460816
2026-08-09 04:08 UTC
Ah yes here we go, I added a tiny bit more code and somehow that turned all the assembler output into complete madness where it's doing operations that seem entirely unrelated to what the source code says. I expect that once I unravel it, it'll have figured out some 27-dimensional reframing of what the code was doing that lets it do what I asked in a single completely cursed AVX-512 instruction or something.
Like, even the loop iteration counts have turned into a number that appears nowhere in the source code.
Replies (1)
-
@danderson@hachyderm.io 2026-08-09 04:10
Oh no, I see. My code has a bug which makes it panic after 5 iterations. LLVM seemingly noticed this while unrolling the loop and so turned all my code into a couple hardcoded printlns followed by a panic. I mean, it's not wrong, it's just an asshole