Add tags to live interval unions to avoid using stale queries.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 9 Feb 2011 21:52:03 +0000 (21:52 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 9 Feb 2011 21:52:03 +0000 (21:52 +0000)
commit4f6364fd3f2af74330b1bc4e545173af074707a5
treefcf0820ef4d4ba41aa05e00866e32a41cada6b21
parent80fd30563c341d6db778f407547707396ff97c75
Add tags to live interval unions to avoid using stale queries.

The tag is updated whenever the live interval union is changed, and it is tested
before using cached information.

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