summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WinEH/wineh-demotion.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/WinEH/wineh-demotion.ll')
-rw-r--r--llvm/test/CodeGen/WinEH/wineh-demotion.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/WinEH/wineh-demotion.ll b/llvm/test/CodeGen/WinEH/wineh-demotion.ll
index 113d95015a0..e849a8ec80c 100644
--- a/llvm/test/CodeGen/WinEH/wineh-demotion.ll
+++ b/llvm/test/CodeGen/WinEH/wineh-demotion.ll
@@ -86,18 +86,18 @@ catch.inner:
; CHECK: store i32 %z
; CHECK-NEXT: invoke void @f
invoke void @f()
- to label %catchret.inner unwind label %merge.outer
+ to label %catchret.inner unwind label %catchend.inner
catchret.inner:
catchret %cpinner to label %exit
catchend.inner:
+ ; CHECK-NOT: = phi
+ %y = phi i32 [ %x, %merge.inner ], [ %z, %catch.inner ]
catchendpad unwind label %merge.outer
merge.outer:
; CHECK: merge.outer:
- ; CHECK-NOT: = phi
; CHECK: [[CatchPad:%[^ ]+]] = catchpad []
- %y = phi i32 [ %x, %catchend.inner ], [ %z, %catch.inner ]
%cpouter = catchpad [] to label %catch.outer unwind label %catchend.outer
catchend.outer:
OpenPOWER on IntegriCloud