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

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 18:00:31 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-backend-risc-v

Author: None (nosba0957)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/104530.diff


1 Files Affected:

- (modified) llvm/lib/Target/RISCV/RISCVInstrInfo.td (+1-1) 


``````````diff
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">;

``````````

</details>


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


More information about the llvm-commits mailing list