Fix vbroadcast matching logic to early unmatch if the node doesn't have
[oota-llvm.git] / test / CodeGen / X86 / pr10420.ll
1 ; RUN: llc < %s -mtriple=x86_64-apple-macosx -disable-cfi | FileCheck %s
2
3 define private void @foo() {
4        ret void
5 }
6
7 define void @bar() {
8        call void @foo()
9        ret void;
10 }
11
12 ; CHECK: _bar:                                   ## @bar
13 ; CHECK-NEXT: Ltmp2:
14
15 ; CHECK: Ltmp12:
16 ; CHECK-NEXT: Ltmp13 = L_foo-Ltmp12                   ## FDE initial location
17 ; CHECK-NEXT:         .quad   Ltmp13
18
19 ; CHECK: Ltmp19:
20 ; CHECK-NEXT: Ltmp20 = Ltmp2-Ltmp19                   ## FDE initial location
21 ; CHECK-NEXT:         .quad   Ltmp20