1 # RUN: llc -mtriple=x86_64-windows-msvc -verify-machineinstrs -run-pass branch-folder -o - %s | FileCheck %s
3 # Check that branch-folder does not create a fallthrough to a landing pad.
4 # Also make sure that the landing pad still can be tail merged.
8 ; CHECK-LABEL: name: foo
10 successors: %bb.1, %bb.3
12 JCC_1 %bb.4, 5, implicit killed $eflags
14 MOV8mi $r13, 1, $noreg, 0, $noreg, 0
17 ; CHECK-NOT: successors: {{.*}}bb.3
18 ; CHECK: bb.3 (landing-pad):
21 MOV8mi $r13, 1, $noreg, 0, $noreg, 0
25 MOV8mi $r13, 2, $noreg, 0, $noreg, 0