This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyCFG] Use BB::instructionsWithoutDebug to skip DbgInfo (NFC).
ClosedPublic

Authored by fhahn on Apr 30 2018, 2:08 AM.

Details

Summary

This patch updates some code responsible the skip debug info to use
BasicBlock::instructionsWithoutDebug. I think this makes things slightly
simpler and more direct.

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn created this revision.Apr 30 2018, 2:08 AM
hans accepted this revision.Apr 30 2018, 6:29 AM

Seems reasonable to me.

This revision is now accepted and ready to land.Apr 30 2018, 6:29 AM
This revision was automatically updated to reflect the committed changes.