xref: /llvm-project/bolt/test/X86/Inputs/sctc_bug2.s (revision 4c106cfdf7cf7eec861ad3983a3dd9a9e8f3a8ae)
1.text
2
3.globl	foo
4.type	foo, @function
5foo:
6  ret
7	.size	foo, .-foo
8
9.globl	main
10.type	main, @function
11main:
12	.cfi_startproc
13
14  cmp   %rdi, 1
15  jne  .L2
16
17  xorl    %eax, %eax
18
19.L1:
20  jmp foo
21
22.L2:
23  jb .L1
24
25  cmp %eax, 0
26  xorl    %eax, %eax
27  ja .L2
28.Lend:
29  retq
30
31	.cfi_endproc
32	.size	main, .-main
33
34