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

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 02:08:59 PDT 2018


fhahn created this revision.
fhahn added reviewers: aprantl, vsk, hans, danielcdh.
fhahn added a project: debug-info.
Herald added a subscriber: JDevlieghere.

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


https://reviews.llvm.org/D46252

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46252.144517.patch
Type: text/x-patch
Size: 5426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180430/d0b91114/attachment.bin>


More information about the llvm-commits mailing list