Fix TableGen's RegPressureSet weight normalization to handle subreg DAGS.
authorAndrew Trick <atrick@apple.com>
Thu, 10 May 2012 00:32:15 +0000 (00:32 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 10 May 2012 00:32:15 +0000 (00:32 +0000)
commit7b521ad6eea8ac25960a4efecb9578c18fbc0e93
tree26601b01e6c66ba0c9d9a52d99da61e589405bb7
parent77966fab9e777e7d22e5391fbfbd42658e8f8f03
Fix TableGen's RegPressureSet weight normalization to handle subreg DAGS.

I initially assumed that the subreg graph was a tree. That may not be true.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156524 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenRegisters.cpp