1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
2 ; RUN: llc < %s -O0 -mtriple=i686-linux-gnu -global-isel=0 -verify-machineinstrs | FileCheck %s --check-prefix=DAG
3 ; RUN: llc < %s -O0 -mtriple=i686-linux-gnu -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=DAG
4 ; RUN: llc < %s -O0 -mtriple=i686-linux-gnu -global-isel -global-isel-abort=1 -verify-machineinstrs | FileCheck %s --check-prefix=GISEL
5 ; RUN: llc < %s -O0 -mtriple=x86_64-linux-gnu -global-isel=0 | FileCheck %s --check-prefix=DAG
6 ; RUN: llc < %s -O0 -mtriple=x86_64-linux-gnu -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=DAG
7 ; RUN: llc < %s -O0 -mtriple=x86_64-linux-gnu -global-isel -global-isel-abort=1 | FileCheck %s --check-prefix=GISEL
9 define void @uncondbr() {
10 ; DAG-LABEL: uncondbr:
11 ; DAG: # %bb.0: # %entry
12 ; DAG-NEXT: jmp .LBB0_2
13 ; DAG-NEXT: .LBB0_1: # %end
14 ; DAG-NEXT: ret{{[l|q]}}
15 ; DAG-NEXT: .LBB0_2: # %bb2
16 ; DAG-NEXT: jmp .LBB0_1
18 ; GISEL-LABEL: uncondbr:
19 ; GISEL: # %bb.1: # %entry
20 ; GISEL-NEXT: jmp .LBB0_3
21 ; GISEL-NEXT: .LBB0_2: # %end
22 ; GISEL-NEXT: ret{{[l|q]}}
23 ; GISEL-NEXT: .LBB0_3: # %bb2
24 ; GISEL-NEXT: jmp .LBB0_2