HomePhabricator

[InstSimplify] Return poison if insertelement touches out of bounds

Authored by aqjune on Jan 3 2021, 7:05 AM.

Description

[InstSimplify] Return poison if insertelement touches out of bounds

This is a simple patch that updates InstSimplify to return poison if the index is/can be out-of-bounds

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D93990

Details