[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Thu Dec 18 07:13:01 PST 2003
Changes in directory llvm/lib/CodeGen:
RegAllocLinearScan.cpp updated: 1.11 -> 1.12
---
Log message:
Fix bug in reserved registers. DH actually aliases DX and EDX which
are not reserved registers.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.11 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.12
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.11 Thu Dec 18 02:56:11 2003
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Thu Dec 18 07:12:18 2003
@@ -227,14 +227,14 @@
// 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 */
More information about the llvm-commits
mailing list