forked from OSchip/llvm-project
LangRef: Move example of function-scope uselistorder to a function
Should make the example added in r216025 a little more clear. llvm-svn: 216027
This commit is contained in:
parent
5d84a69731
commit
23046653be
|
@ -1778,9 +1778,16 @@ function's scope.
|
|||
|
||||
::
|
||||
|
||||
define void @foo(i32 %arg1, i32 %arg2) {
|
||||
entry:
|
||||
; ... instructions ...
|
||||
bb:
|
||||
; ... instructions ...
|
||||
|
||||
; At function scope.
|
||||
uselistorder i32 %arg1, { 1, 0, 2 }
|
||||
uselistorder label %bb, { 1, 0 }
|
||||
}
|
||||
|
||||
; At global scope.
|
||||
uselistorder i32* @global, { 1, 2, 0 }
|
||||
|
|
Loading…
Reference in New Issue