[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / X86 / GlobalISel / select-br.mir
blobd28fa574238a560469143c33cf68a327ce46295f
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:       16
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 ...