[PATCH] D123962: [InstCombine] fold freeze of partial undef/poison vector constants
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 19 06:17:25 PDT 2022
nikic added a comment.
What about
> For vector constants with some undef elements, wouldn't we be better off picking an existing (non-undef) vector element? That would be especially profitable if we can produce a splat vector constant.
?
I still think that would make more sense for the vector case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123962/new/
https://reviews.llvm.org/D123962
More information about the llvm-commits
mailing list