summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-06-18 05:02:11 +0000
committerTobias Grosser <tobias@grosser.es>2015-06-18 05:02:11 +0000
commitaa9f575ae16e357546810f270eedbd1b5ee6fb79 (patch)
tree5ee036a5339785971acb3ee5b12c17504f41e9ca
parent3579996399bb2b53f21313ed527896b99bd24b50 (diff)
downloadbcm5719-llvm-aa9f575ae16e357546810f270eedbd1b5ee6fb79.tar.gz
bcm5719-llvm-aa9f575ae16e357546810f270eedbd1b5ee6fb79.zip
Adjust to personality function change in 239940
llvm-svn: 239992
-rw-r--r--polly/test/ScopInfo/phi_not_grouped_at_top.ll4
-rw-r--r--polly/test/ScopInfo/phi_with_invoke_edge.ll4
2 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/ScopInfo/phi_not_grouped_at_top.ll b/polly/test/ScopInfo/phi_not_grouped_at_top.ll
index 45fe98018ec..fe8d8b37003 100644
--- a/polly/test/ScopInfo/phi_not_grouped_at_top.ll
+++ b/polly/test/ScopInfo/phi_not_grouped_at_top.ll
@@ -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: ; preds = %bb56
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
diff --git a/polly/test/ScopInfo/phi_with_invoke_edge.ll b/polly/test/ScopInfo/phi_with_invoke_edge.ll
index 89d02d05aba..c94d30bd7ec 100644
--- a/polly/test/ScopInfo/phi_with_invoke_edge.ll
+++ b/polly/test/ScopInfo/phi_with_invoke_edge.ll
@@ -3,7 +3,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
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: ; preds = %bb3
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
}
OpenPOWER on IntegriCloud