foad added a comment. Pre-gfx10 `writelane v0, m0, s0` is legal, isn't it? Does your implementation allow for that? You don't seem to have any tests for that case. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D84449/new/ https://reviews.llvm.org/D84449