https://github.com/nikic approved this pull request. Okay, the issue with the legality of the wide type (esp for scalable vectors) is compelling to me. This LGTM from my side, but would be good if a codegen reviewer can take another look. https://github.com/llvm/llvm-project/pull/220293