[PATCH] D104974: [doc]Added examples for generic opcodes
Shivam Gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 27 00:19:32 PDT 2021
xgupta added a comment.
I would suggest you to take your full time, understand Global Machine IR thoroughly i.e. know the meaning of every letter in the testcases from where you taken these examples. And then write //more// descriptive Opcode docs something like as LLVM IR instruction reference https://llvm.org/docs/LangRef.html#instruction-reference.
================
Comment at: llvm/docs/GlobalISel/GenericOpcode.rst:730
+.. code-block:: none
+ G_BR %bb.1
+
----------------
why 1 not 0 or 2?
================
Comment at: llvm/docs/GlobalISel/GenericOpcode.rst:738
+.. code-block:: none
+ G_BRCOND %4, %bb.1
+
----------------
Why 4 not 3 or 5 or maybe 0?
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