Reserve ECX and EDI instead of EBX and EDI. Since EBX is a callee
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 28 Dec 2003 18:03:52 +0000 (18:03 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 28 Dec 2003 18:03:52 +0000 (18:03 +0000)
commit27490a6fcc8e24be0ee4ddfcdbdf7e9da9e5af41
treed2e86c9040060c2e8abad35a5900c43f707810d8
parent26bfc08b80c904c71487ac1ab49a8b3a15a8d3e9
Reserve ECX and EDI instead of EBX and EDI. Since EBX is a callee
saved register it has a longer free range than ECX (which is defined
every time there is a fnuction call) which makes ECX a better register
to reserve.

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