HomePhabricator

[DEBUGINFO] Prevent Instcombine from dropping debuginfo when removing zexts

Authored by wolfgangp on Apr 15 2019, 10:36 AM.

Description

[DEBUGINFO] Prevent Instcombine from dropping debuginfo when removing zexts

Zexts can be treated like no-op casts when it comes to assessing whether their
removal affects debug info.

Reviewer: aprantl

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

llvm-svn: 358431