[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / test / CodeGen / X86 / GlobalISel / select-br.mir
blob4872fb70c95379dc8e6c472d106db34c44b4a54f
1 # RUN: llc -mtriple=x86_64-linux-gnu    -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=X64
2 # RUN: llc -mtriple=i386-linux-gnu      -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK --check-prefix=X32
4 --- |
5   define void @uncondbr() {
6   entry:
7     br label %bb2
9   end:                                              ; preds = %bb2
10     ret void
12   bb2:                                              ; preds = %entry
13     br label %end
14   }
16 ...
17 ---
18 name:            uncondbr
19 # CHECK-LABEL: name:  uncondbr
20 alignment:       4
21 legalized:       true
22 regBankSelected: true
23 # CHECK:     JMP_1 %bb.2
24 # CHECK:     JMP_1 %bb.1
25 body:             |
26   bb.1.entry:
27     successors: %bb.3(0x80000000)
29     G_BR %bb.3
31   bb.2.end:
32     RET 0
34   bb.3.bb2:
35     successors: %bb.2(0x80000000)
37     G_BR %bb.2
39 ...