Detect and enumerate bypass loops.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 15 Dec 2010 17:49:52 +0000 (17:49 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 15 Dec 2010 17:49:52 +0000 (17:49 +0000)
commit697483addf056595c997302f1316cc59244eefaa
treea6ae1091cc88aba70e4a046276fbf5690c83914d
parent521a453721aeefbb6783b6acc8ea36b3c18b4931
Detect and enumerate bypass loops.

Bypass loops have the current live range live through, but contain no uses or
defs. Splitting around a bypass loop can free registers for other uses inside
the loop by spilling the split range.

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