This is a simple patch that adds folding from insertelement vec, poison, idx into vec.
Alive2 proof: https://alive2.llvm.org/ce/z/2y2vbC
Differential D93994
[InstSimplify] Fold insertelement vec, poison, idx into vec Authored by aqjune on Jan 3 2021, 9:05 AM.
Details This is a simple patch that adds folding from insertelement vec, poison, idx into vec. Alive2 proof: https://alive2.llvm.org/ce/z/2y2vbC
Diff Detail
Event Timeline
Comment Actions Resolve failures If the diffs look okay, I'll split this into two commits (one with the ConstantVector and another one with the InstSimplify) when landing.
| ||||||||||||
clang-format not found in user's PATH; not linting file.