Displaying 1 result from an estimated 1 matches for "lbb1_0".
Did you mean:
lbb1_1
2010 Jan 08
4
[LLVMdev] Inlining
...testInline ; echo $?
42
gemini:~/Projects/Nil/nil(0)$
and the generated assembly (with much red tape snipped for now):
---
.file "testInline.bc"
.text
.align 16
.globl foo
.type foo, at function
foo: # @foo
.Leh_func_begin1:
.LBB1_0:
imull $7, %edi, %eax
ret
.size foo, .-foo
.Leh_func_end1:
.align 16
.globl main
.type main, at function
main: # @main
.Leh_func_begin2:
.LBB2_0:
subq $8, %rsp
.Llabel1:
movl $6, %edi
call foo
addq $8, %rsp
ret
.size main, .-main
....