diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-18 13:12:18 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-12-18 13:12:18 +0000 |
commit | a3d0e5c2b257a19a0de03a98a4991f5168027129 (patch) | |
tree | b98e16bc6af5cc8840eba4bc2e486d6aa3505fb0 /lib/CodeGen/RegAllocLinearScan.cpp | |
parent | 9af9dbde7d8b7c1e8ba8548bc5dc44927857b9f3 (diff) |
Fix bug in reserved registers. DH actually aliases DX and EDX which
are not reserved registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLinearScan.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index 75d213de11..53fb1da606 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -227,14 +227,14 @@ bool RA::runOnMachineFunction(MachineFunction &fn) { // reserve R32: EDI, EBX, // R16: DI, BX, - // R8: DH, BH, + // R8: BH, BL // RFP: FP5, FP6 reserved_.push_back(19); /* EDI */ reserved_.push_back(17); /* EBX */ reserved_.push_back(12); /* DI */ reserved_.push_back( 7); /* BX */ - reserved_.push_back(11); /* DH */ reserved_.push_back( 4); /* BH */ + reserved_.push_back( 5); /* BL */ reserved_.push_back(28); /* FP5 */ reserved_.push_back(29); /* FP6 */ |