OSDN Git Service

[LoopSimplify] Use BB::instructionsWithoutDebug to skip DbgInfo (NFC).
authorFlorian Hahn <florian.hahn@arm.com>
Mon, 30 Apr 2018 19:19:36 +0000 (19:19 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Mon, 30 Apr 2018 19:19:36 +0000 (19:19 +0000)
commitd3476a449966bf110889e5c9c0f7ad7fe6341158
tree4cebd68393d44925f289e1505d5a0e52dbe19714
parentac9b3ef76a00cc9a44ed80cec25ae75771fdc066
[LoopSimplify] Use BB::instructionsWithoutDebug to skip DbgInfo (NFC).

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

Reviewers: aprantl, vsk, chandlerc

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D46253

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331217 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopSimplify.cpp