mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
LangRef: Move example of function-scope uselistorder to a function
Should make the example added in r216025 a little more clear. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7838818ad7
commit
5a466d37d8
@ -1778,9 +1778,16 @@ function's scope.
|
||||
|
||||
::
|
||||
|
||||
; At function scope.
|
||||
uselistorder i32 %arg1, { 1, 0, 2 }
|
||||
uselistorder label %bb, { 1, 0 }
|
||||
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…
x
Reference in New Issue
Block a user