[CodeExtractor] Simplify findAllocas, NFC
authorVedant Kumar <vsk@apple.com>
Wed, 10 Jul 2019 16:32:16 +0000 (16:32 +0000)
committerVedant Kumar <vsk@apple.com>
Wed, 10 Jul 2019 16:32:16 +0000 (16:32 +0000)
commitf65f302cc7af68e5bc7dc9ee8f6761ed6514fadb
tree7335c22aafbaf9714fd878e5b9158d8a6bb80de7
parent6ce1b4fec54a75959cd535fc682f0ffe685cde09
[CodeExtractor] Simplify findAllocas, NFC

Split getLifetimeMarkers out into its own method and have it return a
struct.

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

llvm-svn: 365659
llvm/include/llvm/Transforms/Utils/CodeExtractor.h
llvm/lib/Transforms/Utils/CodeExtractor.cpp