This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by fhahn on Apr 30 2018, 2:10 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:10 AM
aprantl accepted this revision.Apr 30 2018, 10:44 AM

thanks!

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