lenary wrote: Thanks for the refactor in `2b5cb1bf628fc54473355e0675f629d9332089df` - I'll change the approach and implement this in `getRISCVPCRelHi20` - updated PR coming imminently. https://github.com/llvm/llvm-project/pull/107558