The LLVM assembler reportedly assembles the form using the j mnemonic incorrectly (see issue 107460). The jr form is canonical and avoids this problem, so use it instead.
based on patch submitted by Jaydeep Patil, with minor changes.