Add register mask support to InterferenceCache.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 10 Feb 2012 18:58:34 +0000 (18:58 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 10 Feb 2012 18:58:34 +0000 (18:58 +0000)
commit6ef7da0197735a16aa534e9e2c80709d3d6e8c56
treef4ecf00513f7e55c9e44e819d6c336191fb38ee2
parent3bf7a1cc3c090e766b8912c6a14c3e2ec5dde7f8
Add register mask support to InterferenceCache.

This makes global live range splitting behave identically with and
without register mask operands.

This is not necessarily the best way of using register masks for live
range splitting.  It would be more efficient to first split global live
ranges around calls (i.e., register masks), and reserve the fine grained
per-physreg interference guidance for global live ranges that do not
cross calls.

For now the goal is to produce identical assembly when enabling register
masks.

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