HomePhabricator

[DebugInfo] Normalize common kinds of DWARF sub-expressions.

Authored by JDevlieghere on Sep 5 2018, 3:18 AM.

Description

[DebugInfo] Normalize common kinds of DWARF sub-expressions.

Normalize common kinds of DWARF sub-expressions to make debug info
encoding a bit more compact:

DW_OP_constu [X < 32] -> DW_OP_litX
DW_OP_constu [all ones] -> DW_OP_lit0, DW_OP_not (64-bit only)

Differential revision: https://reviews.llvm.org/D51640

llvm-svn: 341457

Details

Committed
JDevlieghereSep 5 2018, 3:18 AM
Differential Revision
D51640: [DebugInfo] Normalize common kinds of DWARF sub-expressions.
Parents
rGe157cea3eca8: [NFC] Add test on full IV widening
Branches
Unknown
Tags
Unknown