Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / X86 / GlobalISel / br.ll
blob878fe981c98844b143e8fc01e75148b60697c8e0
1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mtriple=x86_64-linux-gnu    -global-isel -verify-machineinstrs %s -o - | FileCheck %s
4 define void @uncondbr() {
5 ; CHECK-LABEL: uncondbr:
6 ; CHECK:       # %bb.1: # %entry
7 ; CHECK-NEXT:    jmp .LBB0_3
8 ; CHECK-NEXT:  .LBB0_2: # %end
9 ; CHECK-NEXT:    retq
10 ; CHECK-NEXT:  .LBB0_3: # %bb2
11 ; CHECK-NEXT:    jmp .LBB0_2
12 entry:
13   br label %bb2
14 end:
15   ret void
16 bb2:
17   br label %end