[llvm] [NFC] Fix typo: "wererenamed" to "were renamed" (PR #104530)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 17:59:39 PDT 2024


https://github.com/nosba0957 created https://github.com/llvm/llvm-project/pull/104530

This commit corrects a typo in a comment from "wererenamed" to "were renamed". No functional changes.

>From 08840613ec82fefa11c7fee0bb937fe101de9abe Mon Sep 17 00:00:00 2001
From: "Yu-Hui, Wu" <nosba0957 at gmail.com>
Date: Fri, 16 Aug 2024 08:39:01 +0800
Subject: [PATCH] [NFC] Fix typo: "wererenamed" to "were renamed"

---
 llvm/lib/Target/RISCV/RISCVInstrInfo.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
index 2dd7240ef941a7..41ef55544e7d2d 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -1056,7 +1056,7 @@ def : InstAlias<"sltu $rd, $rs1, $imm12",
 
 def : MnemonicAlias<"move", "mv">;
 
-// The SCALL and SBREAK instructions wererenamed to ECALL and EBREAK in
+// The SCALL and SBREAK instructions were renamed to ECALL and EBREAK in
 // version 2.1 of the user-level ISA. Like the GNU toolchain, we still accept
 // the old name for backwards compatibility.
 def : MnemonicAlias<"scall", "ecall">;



More information about the llvm-commits mailing list