]> granicus.if.org Git - llvm/commit
[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)
commit899d0e64382aeaa8bb18af4ba11ae68e222eb587
tree02894ff2546494f0d691fe81ec764468359c641c
parent2e07d5cebb4fa319335767d411ee52e35ac8012c
[CodeExtractor] Simplify findAllocas, NFC

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

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

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