summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-11-06 10:07:33 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-11-06 10:07:33 +0000
commit9947cacebfc667b033e0b2297fd2173b34716b12 (patch)
treeb0d1314128d0e9d6484804067b784a5b6ffda023 /llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
parent7856ad0bccd6d4956b2dd319ccdf8375d3b73964 (diff)
downloadbcm5719-llvm-9947cacebfc667b033e0b2297fd2173b34716b12.tar.gz
bcm5719-llvm-9947cacebfc667b033e0b2297fd2173b34716b12.zip
Revert r252249 (and r252255, r252258), "[WinEH] Clone funclets with multiple parents"
It behaved flaky due to iterating pointer key values on std::set and std::map. llvm-svn: 252279
Diffstat (limited to 'llvm/test/CodeGen/WinEH/wineh-no-demotion.ll')
-rw-r--r--llvm/test/CodeGen/WinEH/wineh-no-demotion.ll18
1 files changed, 3 insertions, 15 deletions
diff --git a/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll b/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
index 4f023947caa..4e4206eb2be 100644
--- a/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
+++ b/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll
@@ -39,20 +39,12 @@ shared.cont:
unreachable
inner:
+ ; CHECK: %phi = phi i32 [ %x, %right ], [ 0, %invoke.cont2 ], [ %x.for.left, %left ]
%phi = phi i32 [ %x, %shared ], [ 0, %invoke.cont2 ]
%i = cleanuppad []
call void @h(i32 %phi)
unreachable
-; CHECK [[INNER_INVOKE_CONT2:inner.*]]:
- ; CHECK: call void @h(i32 0)
-
-; CHECK [[INNER_RIGHT:inner.*]]:
- ; CHECK: call void @h(i32 %x)
-
-; CHECK [[INNER_LEFT:inner.*]]:
- ; CHECK: call void @h(i32 %x.for.left)
-
exit:
unreachable
}
@@ -84,16 +76,12 @@ shared.cont:
unreachable
inner:
+ ; CHECK: %x1 = phi i32 [ %x.for.left, %left ], [ %x, %right ]
+ ; CHECK: call void @h(i32 %x1)
%i = cleanuppad []
call void @h(i32 %x)
unreachable
-; CHECK [[INNER_RIGHT:inner.*]]:
- ; CHECK: call void @h(i32 %x)
-
-; CHECK [[INNER_LEFT:inner.*]]:
- ; CHECK: call void @h(i32 %x.for.left)
-
exit:
unreachable
}
OpenPOWER on IntegriCloud