[llvm-commits] [poolalloc] r50111 - /poolalloc/trunk/lib/DSA/Local.cpp
John Criswell
criswell at uiuc.edu
Tue Apr 22 14:50:39 PDT 2008
Author: criswell
Date: Tue Apr 22 16:50:39 2008
New Revision: 50111
URL: http://llvm.org/viewvc/llvm-project?rev=50111&view=rev
Log:
Added support for some of the LLVM exception handling intrinsics.
Modified:
poolalloc/trunk/lib/DSA/Local.cpp
Modified: poolalloc/trunk/lib/DSA/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/Local.cpp?rev=50111&r1=50110&r2=50111&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/Local.cpp (original)
+++ poolalloc/trunk/lib/DSA/Local.cpp Tue Apr 22 16:50:39 2008
@@ -577,6 +577,21 @@
if (DSNode *N = getValueDest(**CS.arg_begin()).getNode())
N->setModifiedMarker();
return true;
+
+ case Intrinsic::eh_exception: {
+ DSNode * Node = createNode();
+ Node->setIncompleteMarker();
+ Node->foldNodeCompletely();
+ setDestTo (*(CS.getInstruction()), Node);
+ return true;
+ }
+
+ case Intrinsic::eh_selector_i32:
+ case Intrinsic::eh_selector_i64:
+ case Intrinsic::eh_typeid_for_i32:
+ case Intrinsic::eh_typeid_for_i64:
+ return true;
+
default: {
//ignore pointer free intrinsics
if (!isa<PointerType>(F->getReturnType())) {
More information about the llvm-commits
mailing list