https://bugs.freedesktop.org/show_bug.cgi?id=68224
--- Comment #11 from Michel Dänzer michel@daenzer.net --- (In reply to comment #9)
.addImm(Lane);
This results in the lane number being encoded verbatim in the VSRC1 instruction field, which I don't think is correct?
I tried adding 0x80 to make it an inline literal, but Sanctuary still locks up.
Another potential gotcha I noticed in the ISA documentation is that the V_READ/WRITELANE instructions don't respect the EXEC mask.