OSDN Git Service

After splitting, compute connected components of all new registers, not just for
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 26 Oct 2010 22:36:09 +0000 (22:36 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 26 Oct 2010 22:36:09 +0000 (22:36 +0000)
commit3a0e0715a5691e26ca70bc853d6d3d116e5949b8
treeb54899ce8320e5a02f88206d8b74ee49896ccad2
parent501dc4224586d3cee61101ed6cd0ccc8ba74c43c
After splitting, compute connected components of all new registers, not just for
the remainder register.

Example:

bb0:
  x = 1
bb1:
  use(x)
  ...
  x = 2
  jump bb1

When x is isolated in bb1, the inner part breaks into two components, x1 and x2:

bb0:
  x0 = 1
bb1:
  x1 = x0
  use(x1)
  ...
  x2 = 2
  x0 = x2
  jump bb1

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