Instead of building a list and sorting it just to find a maximum element,
authorDan Gohman <gohman@apple.com>
Sun, 21 Sep 2008 21:01:49 +0000 (21:01 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 21 Sep 2008 21:01:49 +0000 (21:01 +0000)
commit4893c067b767f5955ffedd722f33c11750c3e52b
tree85a192046a3cf5bb27a95f0f2700967eebed626f
parent134eb73fc35e6ead3cfd3ed5024d0d7efa507441
Instead of building a list and sorting it just to find a maximum element,
compute the maximum element directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetRegisterInfo.cpp