[all-commits] [llvm/llvm-project] 41bdb8: [X86] Fold insert_vector_elt(undef, elt, 0) --> sc...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Aug 15 06:56:51 PDT 2022
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-08-15 (Mon, 15 Aug 2022)
[X86] Fold insert_vector_elt(undef, elt, 0) --> scalar_to_vector(elt)
I had hoped to make this a generic fold in DAGCombine, but there's quite a few regressions in Thumb2 MVE that need addressing first.
Fixes regressions from D106675.
More information about the All-commits