[VectorCombine] Use poison insteaf of undef as placeholder [NFC]
authorNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Wed, 19 Jul 2023 09:24:41 +0000 (10:24 +0100)
committerNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Wed, 19 Jul 2023 09:29:08 +0000 (10:29 +0100)
commitd75fb179631e7137def7e33d1845e41bcf05e1b4
treecdf92c7d0c01999969f997996bdd208afafa47c6
parent569769b64858fd38f41267db41b461d3163aa754
[VectorCombine] Use poison insteaf of undef as placeholder [NFC]
These vector lanes are never accessed. They are used for shifting a value into the right lane
and therefore only 1 value of the whole vector is actually used
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
llvm/test/Transforms/VectorCombine/X86/extract-cmp-binop.ll