diff options
author | John McCall <rjmccall@apple.com> | 2011-05-29 19:41:56 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-05-29 19:41:56 +0000 |
commit | e64371b932872810c89814e2096cc752bb7cb2cf (patch) | |
tree | b9b034b87b56db35f9be8af5c6f6cfa387041b86 /llvm | |
parent | 63353933c6a29a6d85f62e0346d72bf65015c4b2 (diff) | |
download | bcm5719-llvm-e64371b932872810c89814e2096cc752bb7cb2cf.tar.gz bcm5719-llvm-e64371b932872810c89814e2096cc752bb7cb2cf.zip |
I didn't mean to commit these residues of a personal project.
llvm-svn: 132293
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 1 | ||||
-rw-r--r-- | llvm/test/CodeGen/ARM/eh-resume-darwin.ll | 29 |
2 files changed, 0 insertions, 30 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 1e90d422bd3..a78c3ed2a4a 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -656,7 +656,6 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::EH_SJLJ_SETJMP, MVT::i32, Custom); setOperationAction(ISD::EH_SJLJ_LONGJMP, MVT::Other, Custom); setOperationAction(ISD::EH_SJLJ_DISPATCHSETUP, MVT::Other, Custom); - setLibcallName(RTLIB::UNWIND_RESUME, "_Unwind_SjLj_Resume"); } setOperationAction(ISD::SETCC, MVT::i32, Expand); diff --git a/llvm/test/CodeGen/ARM/eh-resume-darwin.ll b/llvm/test/CodeGen/ARM/eh-resume-darwin.ll deleted file mode 100644 index e4755085de7..00000000000 --- a/llvm/test/CodeGen/ARM/eh-resume-darwin.ll +++ /dev/null @@ -1,29 +0,0 @@ -; RUN: llc < %s -march=arm | FileCheck %s -target triple = "armv6-apple-macosx10.6" - -declare void @func() - -declare i8* @llvm.eh.exception() nounwind readonly - -declare i32 @llvm.eh.selector(i8*, i8*, ...) nounwind - -declare void @llvm.eh.resume(i8*, i32) - -declare i32 @__gxx_personality_sj0(...) - -define void @test0() { -entry: - invoke void @func() - to label %cont unwind label %lpad - -cont: - ret void - -lpad: - %exn = call i8* @llvm.eh.exception() - %sel = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gxx_personality_sj0 to i8*), i32 0) - call void @llvm.eh.resume(i8* %exn, i32 %sel) noreturn - unreachable -} - -; CHECK: __Unwind_SjLj_Resume |