HomePhabricator

[InstCombine] replace zombie unreachable values with 'undef' before erasing

Authored by spatel on Sep 20 2020, 9:21 AM.

Description

[InstCombine] replace zombie unreachable values with 'undef' before erasing

The test (currently crashing) is reduced from the example provided
in the post-commit discussion in D87149.

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