paulwalker-arm wrote: Given it involved editing largely the same code I've included the changes to ensure optimal code generation. Please let me know if you prefer the bug fix to land separately. https://github.com/llvm/llvm-project/pull/88136