craig.topper added a comment. But how does the patch remove them. From what I can see those patterns are created in avx512_trunc_mr_lowering, and it looks like that's still instantiated for these classes. Repository: rL LLVM https://reviews.llvm.org/D27899