[polly] r239992 - Adjust to personality function change in 239940

Tobias Grosser tobias at grosser.es
Wed Jun 17 22:02:11 PDT 2015


Author: grosser
Date: Thu Jun 18 00:02:11 2015
New Revision: 239992

URL: http://llvm.org/viewvc/llvm-project?rev=239992&view=rev
Log:
Adjust to personality function change in 239940

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=239992&r1=239991&r2=239992&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll (original)
+++ polly/trunk/test/ScopInfo/phi_not_grouped_at_top.ll Thu Jun 18 00:02:11 2015
@@ -5,7 +5,7 @@ declare i32 @funa() align 2
 
 declare i32 @generic_personality_v0(i32, i64, i8*, i8*)
 
-define void @funb() align 2 {
+define void @funb() personality i32 (i32, i64, i8*, i8*)* @generic_personality_v0 {
 entry:
   br label %bb117
 
@@ -14,7 +14,7 @@ bb117:
           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
+  %d = landingpad { i8*, i32 } 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=239992&r1=239991&r2=239992&view=diff
==============================================================================
--- polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll (original)
+++ polly/trunk/test/ScopInfo/phi_with_invoke_edge.ll Thu Jun 18 00:02:11 2015
@@ -3,7 +3,7 @@ target datalayout = "e-p:64:64:64-i1:8:8
 
 declare i32 @generic_personality_v0(i32, i64, i8*, i8*)
 
-define i16 @v() {
+define i16 @v() personality i32 (i32, i64, i8*, i8*)* @generic_personality_v0 {
 entry:
   br i1 undef, label %bb16, label %invcont12
 
@@ -21,6 +21,6 @@ bb9:
   ret i16 0
 
 lpad22:                                           ; preds = %invcont12
-  %d = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)* @generic_personality_v0 cleanup catch i32* null
+  %d = landingpad { i8*, i32 } cleanup catch i32* null
   unreachable
 }





More information about the llvm-commits mailing list