[PATCH] D101227: [DOCS] Added example for G_EXTRACT and G_INSERT
Sushma Unnibhavi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 25 21:31:30 PDT 2021
sushmaunnibhavi updated this revision to Diff 340426.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101227/new/
https://reviews.llvm.org/D101227
Files:
llvm/docs/GlobalISel/GenericOpcode.rst
Index: llvm/docs/GlobalISel/GenericOpcode.rst
===================================================================
--- llvm/docs/GlobalISel/GenericOpcode.rst
+++ llvm/docs/GlobalISel/GenericOpcode.rst
@@ -187,6 +187,7 @@
register banks have been selected.
.. code-block:: none
+
%3:_(s32) = G_EXTRACT %2, 32
G_INSERT
@@ -195,7 +196,8 @@
Insert a smaller register into a larger one at the specified bit-index.
.. code-block:: none
-%5:_(s192) = G_INSERT %4, %3, 0
+
+ %5:_(s192) = G_INSERT %4, %3, 0
G_MERGE_VALUES
^^^^^^^^^^^^^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101227.340426.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210426/43135ff3/attachment.bin>
More information about the llvm-commits
mailing list