https://github.com/uweigand approved this pull request. Some of these sequences could probably be improved a bit, but that certainly can be done separately. This patch LGTM, thanks! https://github.com/llvm/llvm-project/pull/70398