This is an archive of the discontinued LLVM Phabricator instance.

[DebugInfo] Only handle DBG_VALUE in InlineSpiller
ClosedPublic

Authored by HsiangKai on May 10 2018, 8:06 PM.

Details

Summary

The instructions using registers should be DBG_VALUE and normal
instructions. Use isDebugValue() to filter out DBG_VALUE and add
an assert to ensure there is no other kind of debug instructions
using the registers.

Related differential revision: https://reviews.llvm.org/D45342

Diff Detail

Repository
rL LLVM

Event Timeline

HsiangKai created this revision.May 10 2018, 8:06 PM
aprantl accepted this revision.May 11 2018, 7:50 AM
This revision is now accepted and ready to land.May 11 2018, 7:50 AM
bjope accepted this revision.May 11 2018, 2:44 PM

Thanks! LGTM

This revision was automatically updated to reflect the committed changes.