[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp IA64RegisterInfo.cpp IA64RegisterInfo.h
Jim Laskey
jlaskey at apple.com
Wed Feb 21 14:55:22 PST 2007
Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.53 -> 1.54
IA64RegisterInfo.cpp updated: 1.31 -> 1.32
IA64RegisterInfo.h updated: 1.14 -> 1.15
---
Log message:
Support to provide exception and selector registers.
---
Diffs of the changes: (+17 -0)
IA64ISelLowering.cpp | 3 +++
IA64RegisterInfo.cpp | 10 ++++++++++
IA64RegisterInfo.h | 4 ++++
3 files changed, 17 insertions(+)
Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.53 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.54
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.53 Mon Jan 29 16:58:52 2007
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Wed Feb 21 16:54:50 2007
@@ -590,6 +590,9 @@
// Frame & Return address. Currently unimplemented
case ISD::RETURNADDR: break;
case ISD::FRAMEADDR: break;
+ // Exception address and exception selector. Currently unimplemented.
+ case ISD::EXCEPTIONADDR: break;
+ case ISD::EHSELECTION: break;
}
return SDOperand();
}
Index: llvm/lib/Target/IA64/IA64RegisterInfo.cpp
diff -u llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.31 llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.32
--- llvm/lib/Target/IA64/IA64RegisterInfo.cpp:1.31 Mon Feb 19 15:49:54 2007
+++ llvm/lib/Target/IA64/IA64RegisterInfo.cpp Wed Feb 21 16:54:50 2007
@@ -360,5 +360,15 @@
return hasFP(MF) ? IA64::r5 : IA64::r12;
}
+unsigned IA64RegisterInfo::getEHExceptionRegister() const {
+ assert(0 && "What is the exception register");
+ return 0;
+}
+
+unsigned IA64RegisterInfo::getEHHandlerRegister() const {
+ assert(0 && "What is the exception handler register");
+ return 0;
+}
+
#include "IA64GenRegisterInfo.inc"
Index: llvm/lib/Target/IA64/IA64RegisterInfo.h
diff -u llvm/lib/Target/IA64/IA64RegisterInfo.h:1.14 llvm/lib/Target/IA64/IA64RegisterInfo.h:1.15
--- llvm/lib/Target/IA64/IA64RegisterInfo.h:1.14 Mon Feb 19 15:49:54 2007
+++ llvm/lib/Target/IA64/IA64RegisterInfo.h Wed Feb 21 16:54:50 2007
@@ -64,6 +64,10 @@
// Debug information queries.
unsigned getRARegister() const;
unsigned getFrameRegister(MachineFunction &MF) const;
+
+ // Exception handling queries.
+ unsigned getEHExceptionRegister() const;
+ unsigned getEHHandlerRegister() const;
};
} // End llvm namespace
More information about the llvm-commits
mailing list