1 ; RUN: opt -jump-threading -S < %s | FileCheck %s
3 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-apple-macosx10.11.0"
7 declare i32 @__gxx_personality_v0(...)
10 define void @pr27840(i8* %call, i1 %A) personality i32(...)* @__gxx_personality_v0 {
13 to label %invoke.cont unwind label %lpad
15 ; Don't jump threading; we can't split the critical edge from entry to lpad.
16 ; CHECK-LABEL: @pr27840
18 ; CHECK-NEXT: to label %invoke.cont unwind label %lpad
22 to label %nowhere unwind label %lpad
25 %b = phi i1 [ true, %invoke.cont ], [ false, %entry ]
26 landingpad { i8*, i32 }
29 br i1 %xor, label %nowhere, label %invoke.cont