[PATCH] D101243: G_CTLZ and G_CTTZ Generic Opcode documentation typo

Chris Sears via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 24 20:46:04 PDT 2021


CSears created this revision.
CSears added a reviewer: echristo.
CSears requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

G_CTLZ_ZERO_UNDEF and G_CTTZ_ZERO_UNDEF had been copied+pasted where G_CTLZ and G_CTTZ should have been.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101243

Files:
  llvm/docs/GlobalISel/GenericOpcode.rst


Index: llvm/docs/GlobalISel/GenericOpcode.rst
===================================================================
--- llvm/docs/GlobalISel/GenericOpcode.rst
+++ llvm/docs/GlobalISel/GenericOpcode.rst
@@ -403,8 +403,8 @@
 
 .. code-block:: none
 
-  %2:_(s33) = G_CTLZ_ZERO_UNDEF %1
-  %2:_(s33) = G_CTTZ_ZERO_UNDEF %1
+  %2:_(s33) = G_CTLZ %1
+  %2:_(s33) = G_CTTZ %1
   %2:_(s33) = G_CTPOP %1
 
 G_CTLZ_ZERO_UNDEF, G_CTTZ_ZERO_UNDEF


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101243.340325.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210425/3dbded20/attachment.bin>


More information about the llvm-commits mailing list