[InstCombineVectorOps] Use poison instead of undef as placeholder [NFC]
authorNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Thu, 20 Jul 2023 07:14:43 +0000 (08:14 +0100)
committerNuno Lopes <nuno.lopes@tecnico.ulisboa.pt>
Thu, 20 Jul 2023 07:14:55 +0000 (08:14 +0100)
commit9324e1be07f3cd99a8714df227640c34e0ba5994
tree287bb5788732df0b463ab0bcc5f8e4a9a1e9ebec
parentd76d5c7d892f06fa42b9ec2ea3e90b6f95cc0e7e
[InstCombineVectorOps] Use poison instead of undef as placeholder [NFC]
Undef was being used to populate unused vector lanes.
While at it, switch extractelement to use poison as the OOB value (per LangRef)
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp