As detailed in https://llvm.org/PR41575, this code shouldn't be relying on implicit saves/restores for the registers it uses __asm("rN") on. There are a few ways forward with this, but until we land one of those, the ARM function call ABI appears to save us here. No pun intended. :)
Details
Details
Diff Detail
Diff Detail