~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/Generic/exception-handling.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; RUN: llc < %s
 
2
; PR10733
 
3
declare void @_Znam()
 
4
 
 
5
define void @_ZNK14gIndexOdometer15AfterExcisionOfERi() uwtable align 2 personality i32 (i32, i64, i8*, i8*)* @__gxx_personality_v0 {
 
6
_ZN6Gambit5ArrayIiEC2Ej.exit36:
 
7
  br label %"9"
 
8
 
 
9
"9":                                              ; preds = %"10", %_ZN6Gambit5ArrayIiEC2Ej.exit36
 
10
  %indvar82 = phi i64 [ 0, %_ZN6Gambit5ArrayIiEC2Ej.exit36 ], [ %tmp85, %"10" ]
 
11
  %tmp85 = add i64 %indvar82, 1
 
12
  %tmp = trunc i64 %tmp85 to i32
 
13
  invoke void @_ZNK14gIndexOdometer9NoIndicesEv()
 
14
          to label %"10" unwind label %lpad27
 
15
 
 
16
"10":                                             ; preds = %"9"
 
17
  invoke void @_Znam()
 
18
          to label %"9" unwind label %lpad27
 
19
 
 
20
lpad27:                                           ; preds = %"10", %"9"
 
21
  %0 = phi i32 [ undef, %"9" ], [ %tmp, %"10" ]
 
22
  %1 = landingpad { i8*, i32 }
 
23
          cleanup
 
24
  resume { i8*, i32 } zeroinitializer
 
25
}
 
26
 
 
27
declare void @_ZNK14gIndexOdometer9NoIndicesEv()
 
28
 
 
29
declare i32 @__gxx_personality_v0(i32, i64, i8*, i8*)