HomePhabricator

[InstSimplify] insertelement V, undef, ? --> V

Description

[InstSimplify] insertelement V, undef, ? --> V

This was part of InstCombine, but it's better placed in
InstSimplify. InstCombine also had an unreachable but weaker
fold for insertelement with undef index, so that is deleted.

Details

Committed
spatelMay 23 2019, 2:49 PM
Parents
rL361558: [analyzer] List checkers in 3 categories: released, alpha, developer
Branches
Unknown
Tags
Unknown