r360104 - Fix typo in risc-v register aliases.
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Mon May 6 17:45:47 PDT 2019
Author: echristo
Date: Mon May 6 17:45:47 2019
New Revision: 360104
URL: http://llvm.org/viewvc/llvm-project?rev=360104&view=rev
Log:
Fix typo in risc-v register aliases.
Patch by John.
Differential Revision: https://reviews.llvm.org/D61464
Modified:
cfe/trunk/lib/Basic/Targets/RISCV.cpp
Modified: cfe/trunk/lib/Basic/Targets/RISCV.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/RISCV.cpp?rev=360104&r1=360103&r2=360104&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/RISCV.cpp (original)
+++ cfe/trunk/lib/Basic/Targets/RISCV.cpp Mon May 6 17:45:47 2019
@@ -31,7 +31,7 @@ ArrayRef<TargetInfo::GCCRegAlias> RISCVT
{{"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"},
More information about the cfe-commits
mailing list