]> granicus.if.org Git - llvm/commit
Add tie-breaker for register class sorting in getSuperRegForSubReg
authorJessica Paquette <jpaquette@apple.com>
Wed, 28 Aug 2019 22:03:05 +0000 (22:03 +0000)
committerJessica Paquette <jpaquette@apple.com>
Wed, 28 Aug 2019 22:03:05 +0000 (22:03 +0000)
commitf28b6a50e6905d1e8879af636b1217e0998ecd8b
tree7d14e4f903fe9aa25e6e80dc6d62fc7fe7fbcc5c
parentb98de8c76b8ce2fa9da4b4a6933542d5034ab3be
Add tie-breaker for register class sorting in getSuperRegForSubReg

llvm::stable_sort is apparently not sufficient.

Use the same tie-breaker/sorting style as TopoOrderRC fix bot failures.

E.g.

http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/19401/steps/test-check-all/logs/stdio

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