OSDN Git Service

[NFC] Extract LastSplitPoint computation from SplitAnalysis to a new class
authorWei Mi <wmi@google.com>
Wed, 11 May 2016 22:28:29 +0000 (22:28 +0000)
committerWei Mi <wmi@google.com>
Wed, 11 May 2016 22:28:29 +0000 (22:28 +0000)
commit723d45a0c7732b0ab2cdaf708579581551069f37
tree41a5842e2645a00292af285551230894223d1ab3
parent9ad2a7e5c05ff662ed98a6e028bcb578e8ddea90
[NFC] Extract LastSplitPoint computation from SplitAnalysis to a new class
InsertPointAnalysis.

Because both split and spill hoisting want to use LastSplitPoint computation
result, extract the LastSplitPoint computation from SplitAnalysis class which
also contains a bunch of other analysises only related to split.

Differential Revision: http://reviews.llvm.org/D20027.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269248 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SplitKit.cpp
lib/CodeGen/SplitKit.h