[llvm] r261550 - docs/AMDGPUUsage: Update assembly example

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 07:20:00 PDT 2016


On Mon, Feb 22, 2016 at 1:36 PM, Tom Stellard via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: tstellar
> Date: Mon Feb 22 12:36:00 2016
> New Revision: 261550
>
> URL: http://llvm.org/viewvc/llvm-project?rev=261550&view=rev
> Log:
> docs/AMDGPUUsage: Update assembly example
>
> Reviewers: arsenm, nhaustov
>
> Subscribers: llvm-commits
>
> Differential Revision: http://reviews.llvm.org/D17461
>
> Modified:
>     llvm/trunk/docs/AMDGPUUsage.rst
>
> Modified: llvm/trunk/docs/AMDGPUUsage.rst
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/AMDGPUUsage.rst?rev=261550&r1=261549&r2=261550&view=diff
> ==============================================================================
> --- llvm/trunk/docs/AMDGPUUsage.rst (original)
> +++ llvm/trunk/docs/AMDGPUUsage.rst Mon Feb 22 12:36:00 2016
> @@ -153,7 +153,10 @@ Here is an example of a minimal amd_kern
>     .hsa_code_object_version 1,0
>     .hsa_code_object_isa
>
> -   .text
> +   .hsatext
> +   .globl  hello_world
> +   .p2align 8
> +   .amdgpu_hsa_kernel hello_world
>
>     hello_world:
>
> @@ -173,5 +176,7 @@ Here is an example of a minimal amd_kern
>       s_waitcnt lgkmcnt(0)
>       v_mov_b32 v1, s0
>       v_mov_b32 v2, s1
> -     flat_store_dword v0, v[1:2]
> +     flat_store_dword v[1:2], v0
>       s_endpgm
> +.Lfunc_end0:
> +        .size   hello_world, .Lfunc_end0-hello_world

It appears that one of our documentation builders doesn't think this
is valid NASM for some reason (either this commit, or r240839). Can
you see if you can correct the issue? I don't know enough about NASM
to fix this one myself, but it's caused this bot to be red for a very
long time now.

http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/11855/steps/docs-llvm-html/logs/stdio

Thanks!

~Aaron


More information about the llvm-commits mailing list