summaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-02-20 02:15:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-02-20 02:15:36 +0000
commit90b8e791ac8d299caf3d8e44245dfabbc37a84de (patch)
treeee5a00e616d4390546925ed85b92885a8eacc636 /test/CodeGen/XCore
parent6a75fe1912b8bdde3f0d6b9725d9d32ebc5a9257 (diff)
Revert r229944: EH: Prune unreachable resume instructions during Dwarf EH preparation
This doesn't pass 'ninja check-llvm' for me. Lots of tests, including the ones updated, fail with crashes and other explosions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/XCore')
-rw-r--r--test/CodeGen/XCore/exception.ll6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/XCore/exception.ll b/test/CodeGen/XCore/exception.ll
index cd9771d6401..fec83eb15ea 100644
--- a/test/CodeGen/XCore/exception.ll
+++ b/test/CodeGen/XCore/exception.ll
@@ -78,7 +78,6 @@ cont:
; CHECK: bl __cxa_end_catch
lpad:
%0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
- cleanup
catch i8* bitcast (i8** @_ZTIi to i8*)
catch i8* bitcast (i8** @_ZTId to i8*)
%1 = extractvalue { i8*, i32 } %0, 0
@@ -111,14 +110,13 @@ Exit:
; CHECK: .long [[PRE_G]]-[[START]]
; CHECK: .long [[POST_G]]-[[PRE_G]]
; CHECK: .long [[LANDING]]-[[START]]
-; CHECK: .byte 5
+; CHECK: .byte 3
; CHECK: .long [[POST_G]]-[[START]]
; CHECK: .long [[END]]-[[POST_G]]
; CHECK: .long 0
; CHECK: .byte 0
-; CHECK: .byte 0
; CHECK: .byte 1
-; CHECK: .byte 125
+; CHECK: .byte 0
; CHECK: .byte 2
; CHECK: .byte 125
; CHECK: .long _ZTIi