OSDN Git Service

[LV] Use BB::instructionsWithoutDebug to skip DbgInfo (NFC).
authorFlorian Hahn <florian.hahn@arm.com>
Mon, 30 Apr 2018 13:28:08 +0000 (13:28 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Mon, 30 Apr 2018 13:28:08 +0000 (13:28 +0000)
commit051bfd9f17214b37d4bc5f99ff56aba9be5daec3
treee883265ee5f9c97de831337112da8371de57187a
parent068c967842b83d22007eee4515b57e8d9aaccb82
[LV] 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: mkuper, rengolin, dcaballe, aprantl, vsk

Reviewed By: rengolin

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331174 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp