diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 649df4c5878..652aeef2e20 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -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 }