[PATCH] D104974: [doc]Added examples for generic opcodes
    PoojaYadav via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jun 28 10:49:02 PDT 2021
    
    
  
pooja2299 added a comment.
In D104974#2844469 <https://reviews.llvm.org/D104974#2844469>, @paquette wrote:
> Ultimately, I think it would be nice if the documentation was written in this style:
>
>   G_ADD
>   ^^^^^^
>   
>   Adds %src1 to %src0 and stores the result in %dst.
>   
>   .. code-block:: none
>   
>     %dst:_(s32) = G_ADD %src0:_(s32), %src1:_(s32)
Ok, I will keep this in mind.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104974/new/
https://reviews.llvm.org/D104974
    
    
More information about the llvm-commits
mailing list