RKSimon added a comment. The X86 changes look fine, although it would be better if we had more avx512 (or avx2 with fast-gather) test coverage CHANGES SINCE LAST ACTION https://reviews.llvm.org/D144128/new/ https://reviews.llvm.org/D144128