1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
2 # RUN: llc -mtriple=x86_64-pc-windows-msvc -run-pass=branch-folder -o - %s | FileCheck %s
6 ; CHECK-LABEL: name: main
8 ; CHECK-NEXT: successors: %bb.1(0x7ffff800), %bb.3(0x00000800)
11 ; CHECK-NEXT: successors: %bb.2(0x00000800)
15 ; CHECK-NEXT: bb.2 (machine-block-address-taken, landing-pad, ehfunclet-entry):
16 ; CHECK-NEXT: successors: %bb.3(0x80000000)
18 ; CHECK-NEXT: CLEANUPRET
20 ; CHECK-NEXT: bb.3 (landing-pad, ehfunclet-entry):
21 ; CHECK-NEXT: CLEANUPRET
23 successors: %bb.1(0x7ffff800), %bb.5(0x00000800)
27 successors: %bb.2(0x7ffff800), %bb.4(0x00000800)
32 successors: %bb.3(0x7ffff800), %bb.4(0x00000800)
37 successors: %bb.6(0x7ffff800)
41 bb.4 (machine-block-address-taken, landing-pad, ehfunclet-entry):
42 successors: %bb.5(0x80000000)
45 bb.5 (landing-pad, ehfunclet-entry):
54 ; CHECK-LABEL: name: foo
56 ; CHECK-NEXT: successors: %bb.1(0x7ffff800), %bb.2(0x00000800)
57 ; CHECK-NEXT: liveins: $rcx
59 ; CHECK-NEXT: renamable $eax = MOV32rm renamable $rcx, 1, $noreg, 0, $noreg
60 ; CHECK-NEXT: TEST32rr renamable $eax, renamable $eax, implicit-def $eflags
61 ; CHECK-NEXT: JCC_1 %bb.2, 14, implicit killed $eflags
64 ; CHECK-NEXT: successors: %bb.3(0x80000000)
71 ; CHECK-NEXT: bb.3 (machine-block-address-taken, landing-pad, ehfunclet-entry):
72 ; CHECK-NEXT: CLEANUPRET
74 successors: %bb.1(0x7ffff800), %bb.2(0x00000800)
77 renamable $eax = MOV32rm renamable $rcx, 1, $noreg, 0, $noreg
78 TEST32rr renamable $eax, renamable $eax, implicit-def $eflags
79 JCC_1 %bb.2, 14, implicit killed $eflags
83 successors: %bb.3(0x80000000)
89 bb.3 (machine-block-address-taken, landing-pad, ehfunclet-entry):