HomePhabricator

[DebugInfo][InstCombine] Preserve DI after combining zext

Description

[DebugInfo][InstCombine] Preserve DI after combining zext

When zext is EvaluatedInDifferentType, InstCombine
drops the dbg.value intrinsic. This patch tries to
preserve said DI, by inserting the zext's old DI in the
resulting instruction. (Only for integer type for now)

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

Details

Committed
gramanasJul 4 2018, 2:55 AM
Differential Revision
D48331: [DebugInfo][InstCombine] Preserve DI after combining zext instructions
Parents
rL336253: [clangd] Cleanup unittest: URIs. NFC.
Branches
Unknown
Tags
Unknown