Changes in directory llvm/lib/Target/Alpha:
AlphaRegisterInfo.cpp updated: 1.37 -> 1.38
---
Log message:
Translate llvm target registers to dwarf register numbers properly.
---
Diffs of the changes: (+1 -1)
AlphaRegisterInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp
diff -u llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.37
llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.38
--- llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp:1.37 Thu Mar 23 12:12:57 2006
+++ llvm/lib/Target/Alpha/AlphaRegisterInfo.cpp Mon Mar 27 14:18:45 2006
@@ -362,7 +362,7 @@
// FIXME - Needs to handle register variables.
// FIXME - Faking that llvm number is same as gcc numbering.
- ML.set((FP ? Alpha::R15 : Alpha::R30) - Alpha::R0,
+ ML.set(getDwarfRegNum(FP ? Alpha::R15 : Alpha::R30),
MFI->getObjectOffset(Index) + MFI->getStackSize());
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits