[PATCH] D55911: GlobalISel: Correct example PartialMapping table

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 19 18:20:36 PST 2018


arsenm created this revision.
arsenm added a reviewer: qcolombet.
Herald added subscribers: kristof.beyls, rovka, wdng.

When I try to use this, it seems like the second half needs
to start where the previous part left off.


https://reviews.llvm.org/D55911

Files:
  include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h


Index: include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
===================================================================
--- include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
+++ include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
@@ -104,7 +104,7 @@
   /// \code
   /// PartialMapping[] = {
   /// /*32-bit add*/ {0, 32, GPR},
-  /// /*2x32-bit add*/ {0, 32, GPR}, {0, 32, GPR}, // <-- Same entry 3x
+  /// /*2x32-bit add*/ {0, 32, GPR}, {32, 32, GPR}, // <-- Same entry 2x
   /// /*<2x32-bit> vadd {0, 64, VPR}
   /// }; // PartialMapping duplicated.
   ///


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55911.179004.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181220/8dd77c08/attachment.bin>


More information about the llvm-commits mailing list