[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / llvm-objcopy / MachO / Inputs / macho.32.s
blob66bcda8a9387c519ed4a0417064524472544c367
1 .section __TEXT,__text,regular,pure_instructions
2 .build_version macos, 10, 14
3 .globl __Z1fi ## -- Begin function _Z1fi
4 .p2align 4, 0x90
5 __Z1fi: ## @_Z1fi
6 .cfi_startproc
7 ## %bb.0:
8 pushl %ebp
9 .cfi_def_cfa_offset 8
10 .cfi_offset %ebp, -8
11 movl %esp, %ebp
12 .cfi_def_cfa_register %ebp
13 pushl %eax
14 calll L0$pb
15 L0$pb:
16 popl %eax
17 movl 8(%ebp), %ecx
18 movl _x-L0$pb(%eax), %eax
19 addl 8(%ebp), %eax
20 movl %ecx, -4(%ebp) ## 4-byte Spill
21 addl $4, %esp
22 popl %ebp
23 retl
24 .cfi_endproc
25 ## -- End function
26 .globl _main ## -- Begin function main
27 .p2align 4, 0x90
28 _main: ## @main
29 .cfi_startproc
30 ## %bb.0:
31 pushl %ebp
32 .cfi_def_cfa_offset 8
33 .cfi_offset %ebp, -8
34 movl %esp, %ebp
35 .cfi_def_cfa_register %ebp
36 subl $24, %esp
37 movl $2, %eax
38 movl $0, -4(%ebp)
39 movl $2, (%esp)
40 movl %eax, -8(%ebp) ## 4-byte Spill
41 calll __Z1fi
42 addl $24, %esp
43 popl %ebp
44 retl
45 .cfi_endproc
46 ## -- End function
47 .section __DATA,__data
48 .globl _x ## @x
49 .p2align 2
50 _x:
51 .long 1 ## 0x1
54 .subsections_via_symbols