Cleaned up lists and spacing on llvm_concepts.rst
This commit is contained in:
parent
2d36906936
commit
1cbcd2f913
1 changed files with 19 additions and 17 deletions
|
|
@ -27,8 +27,10 @@ follow these steps:
|
||||||
- create a function of type *tf* named *sum*
|
- create a function of type *tf* named *sum*
|
||||||
- add a *basic block* to the function
|
- add a *basic block* to the function
|
||||||
- using a helper object called an *instruction builder*, add two
|
- using a helper object called an *instruction builder*, add two
|
||||||
instructions into the basic block: . an instruction to add the two
|
instructions into the basic block:
|
||||||
arguments and store the result into a temporary variable . a return
|
- an instruction to add the two
|
||||||
|
arguments and store the result into a temporary variable
|
||||||
|
- a return
|
||||||
instruction to return the value of the temporary variable
|
instruction to return the value of the temporary variable
|
||||||
|
|
||||||
(A basic block is a block of instructions.)
|
(A basic block is a block of instructions.)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue