[PATCH] D61464: [RiscV] Typo in register aliases

John LLVM via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 2 14:02:35 PDT 2019


JohnLLVM created this revision.
JohnLLVM added a reviewer: echristo.
JohnLLVM added a project: clang.
Herald added subscribers: cfe-commits, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar, asb.

Not much to say, this typo did break inline assembly routines.

@echristo: I have no idea who to put as reviewer. Putting your name as there is "inline assembly" in `CODE_OWNERS.txt`. Do not hesitate to put someone else instead.


Repository:
  rC Clang

https://reviews.llvm.org/D61464

Files:
  lib/Basic/Targets/RISCV.cpp


Index: lib/Basic/Targets/RISCV.cpp
===================================================================
--- lib/Basic/Targets/RISCV.cpp
+++ lib/Basic/Targets/RISCV.cpp
@@ -31,7 +31,7 @@
       {{"zero"}, "x0"}, {{"ra"}, "x1"},  {{"sp"}, "x2"},   {{"gp"}, "x3"},
       {{"tp"}, "x4"},   {{"t0"}, "x5"},  {{"t1"}, "x6"},   {{"t2"}, "x7"},
       {{"s0"}, "x8"},   {{"s1"}, "x9"},  {{"a0"}, "x10"},  {{"a1"}, "x11"},
-      {{"a2"}, "x12"},  {{"a3"}, "x13"}, {{"a4"}, "x15"},  {{"a5"}, "x15"},
+      {{"a2"}, "x12"},  {{"a3"}, "x13"}, {{"a4"}, "x14"},  {{"a5"}, "x15"},
       {{"a6"}, "x16"},  {{"a7"}, "x17"}, {{"s2"}, "x18"},  {{"s3"}, "x19"},
       {{"s4"}, "x20"},  {{"s5"}, "x21"}, {{"s6"}, "x22"},  {{"s7"}, "x23"},
       {{"s8"}, "x24"},  {{"s9"}, "x25"}, {{"s10"}, "x26"}, {{"s11"}, "x27"},


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61464.197861.patch
Type: text/x-patch
Size: 800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190502/fe07b47c/attachment.bin>


More information about the cfe-commits mailing list