Need a help with CodeGen's td files

Dear Community,

I need a help/advice how to go with the following problem.

There are two independently created patches https://reviews.llvm.org/D111114 and https://reviews.llvm.org/D107301 which actually handle the same problem.

There is pseudo instruction STATEPOINT and it is platform-independent.

However the list of implicit-defs is different on different platforms. Specifically on aarch64 it has implicit def of link register.

I failed to find a way how to override the list of implicit defs of pseudo instruction for some specific platform.

So I wonder