[llvm-commits] [polly] r141069 - in /polly/trunk/test/ScopInfo: phi_not_grouped_at_top.ll phi_with_invoke_edge.ll

Tobias Grosser grosser at fim.uni-passau.de
Tue Oct 4 00:53:29 PDT 2011


Author: grosser
Date: Tue Oct  4 02:53:21 2011
New Revision: 141069

URL: http://llvm.org/viewvc/llvm-project?rev=141069&view=rev
Log:
Test: Convert to new exception handling

Modified:
    polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll
    polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll

Modified: polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll?rev=141069&r1=141068&r2=141069&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll (original)
+++ polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll Tue Oct  4 02:53:21 2011
@@ -5,6 +5,8 @@
 
 declare i32 @funa() align 2
 
+declare i32 @generic_personality_v0(i32, i64, i8*, i8*)
+
 define void @funb() align 2 {
 entry:
   br label %bb117
@@ -14,6 +16,7 @@
           to label %bb121 unwind label %invcont118 ; <%struct.btHullTriangle*> [#uses=1]
 
 invcont118:                                       ; preds = %bb117
+  %d = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality_v0 cleanup catch i32* null
   br label %bb121
 
 bb121:                                            ; preds = %bb120, %invcont118

Modified: polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll?rev=141069&r1=141068&r2=141069&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll (original)
+++ polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll Tue Oct  4 02:53:21 2011
@@ -1,8 +1,8 @@
 ; RUN: opt %loadPolly %defaultOpts -polly-prepare -polly-detect  -analyze  %s
-; ModuleID = '/tmp/invoke_edge_not_supported.ll'
 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"
 target triple = "x86_64-linux-gnu"
 
+declare i32 @generic_personality_v0(i32, i64, i8*, i8*)
 
 define i16 @v() {
 entry:
@@ -22,5 +22,6 @@
   ret i16 0
 
 lpad22:                                           ; preds = %invcont12
+  %d = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality_v0 cleanup catch i32* null
   unreachable
 }





More information about the llvm-commits mailing list