2015-10-06 23:36:44 +08:00
|
|
|
; RUN: opt %loadPolly -analyze < %s
|
2011-04-29 14:27:02 +08:00
|
|
|
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
|
|
|
|
|
|
|
|
declare i32 @funa() align 2
|
|
|
|
|
2011-10-04 15:53:21 +08:00
|
|
|
declare i32 @generic_personality_v0(i32, i64, i8*, i8*)
|
|
|
|
|
2015-06-18 13:02:11 +08:00
|
|
|
define void @funb() personality i32 (i32, i64, i8*, i8*)* @generic_personality_v0 {
|
2011-04-29 14:27:02 +08:00
|
|
|
entry:
|
|
|
|
br label %bb117
|
|
|
|
|
|
|
|
bb117: ; preds = %bb56
|
|
|
|
%0 = invoke i32 @funa()
|
|
|
|
to label %bb121 unwind label %invcont118 ; <%struct.btHullTriangle*> [#uses=1]
|
|
|
|
|
|
|
|
invcont118: ; preds = %bb117
|
2015-06-18 13:02:11 +08:00
|
|
|
%d = landingpad { i8*, i32 } cleanup catch i32* null
|
2011-04-29 14:27:02 +08:00
|
|
|
br label %bb121
|
|
|
|
|
|
|
|
bb121: ; preds = %bb120, %invcont118
|
|
|
|
%iftmp.82.0 = phi i32 [ 0, %bb117 ], [ 1, %invcont118 ] ; <i8> [#uses=1]
|
|
|
|
%te.1 = phi i32 [ undef, %invcont118 ], [ %0, %bb117 ] ;
|
|
|
|
%cnd = icmp ne i32 %iftmp.82.0, %te.1 ; <i1> [#uses=1]
|
|
|
|
br label %return
|
|
|
|
|
|
|
|
return: ; preds = %entry
|
|
|
|
ret void
|
|
|
|
}
|