This pass propagates attributes from kernels to the non-entry functions. Most of the library functions were not compiled for specific ABI, yet will be correctly compiled if proper attributes are propagated from the caller.
Try to reassign registers on GFX10+ from non-sequential to sequential in NSA image instructions. Later SIShrinkInstructions pass will replace NSA with sequential versions where possible.