[InstCombine] Signed saturation patterns
[llvm-core.git] / test / CodeGen / ARM / constant-islands-cfg.mir
blob32548dfe67eb1ebe833b1483411b34f8da4b5621
1 # RUN: llc -mtriple=thumbv6m-apple-ios -run-pass=arm-cp-islands --verify-machine-dom-info %s -o - | FileCheck %s
2 --- |
3   ; Function Attrs: minsize nounwind optsize uwtable
4   define arm_aapcscc double @test_split_cfg(double %a, double %b) local_unnamed_addr #0 {
5     ret double undef
6   }
7 ...
8 ---
9 name:            test_split_cfg
10 alignment:       2
11 exposesReturnsTwice: false
12 legalized:       false
13 regBankSelected: false
14 selected:        false
15 tracksRegLiveness: true
16 registers:
17 liveins:
18   - { reg: '$r0', virtual-reg: '' }
19 frameInfo:
20   isFrameAddressTaken: false
21   isReturnAddressTaken: false
22   hasStackMap:     false
23   hasPatchPoint:   false
24   stackSize:       48
25   offsetAdjustment: 0
26   maxAlignment:    4
27   adjustsStack:    true
28   hasCalls:        true
29   stackProtector:  ''
30   maxCallFrameSize: 0
31   hasOpaqueSPAdjustment: false
32   hasVAStart:      false
33   hasMustTailInVarArgFunc: false
34   savePoint:       ''
35   restorePoint:    ''
36 fixedStack:
37 # CHECK-LABEL: name: test_split_cfg
38 # CHECK: bb.0:
39 # CHECK:     successors: %[[LONG_BR_BB:bb.[0-9]+]](0x{{[0-9a-f]+}}), %[[DEST1:bb.[0-9]+]](0x{{[0-9a-f]+}}){{$}}
40 # CHECK:     tBcc %[[LONG_BR_BB]], 0, $cpsr
41 # CHECK:     tB %[[DEST1]]
42 # CHECK: [[LONG_BR_BB]]:
43 # CHECK:     successors: %[[DEST2:bb.[0-9]+]](0x{{[0-9a-f]+}}){{$}}
44 # CHECK:     tB %[[DEST2]]
45 # CHECK: [[DEST1]]:
46 # CHECK: [[DEST2]]:
48 body:             |
49   bb.0:
50     liveins: $r0
51     tCMPi8 killed $r0, 0, 14, $noreg, implicit-def $cpsr
52     tBcc %bb.2, 1, killed $cpsr
53     tB %bb.3, 14, $noreg
55   bb.1:
56     dead $r0 = SPACE 256, undef $r0
58   bb.2:
59     tPOP_RET 14, $noreg, def $pc
61   bb.3:
62     tPOP_RET 14, $noreg, def $pc
64 ...