Make sure findRepresentativeClass picks the widest super-register.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 May 2012 22:53:28 +0000 (22:53 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 4 May 2012 22:53:28 +0000 (22:53 +0000)
commit7fc4d9cbc54c2e5393440a40b566c1f0527d8037
treef7cccfcd0f62bb9a5ff4315aeb4fc2c090a181f5
parent41afb9da2c808409fb689288bc9b77bc817e235d
Make sure findRepresentativeClass picks the widest super-register.

We want the representative register class to contain the largest
super-registers available. This makes the function less sensitive to the
register class numbering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156220 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp