[llvm] [RISCV][NFC] Fix typo in RISCVIndirectBranchTracking.cpp (PR #157221)
Jesse Huang via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 5 20:39:57 PDT 2025
https://github.com/jaidTw created https://github.com/llvm/llvm-project/pull/157221
None
>From 2c68b2a8553697498060f81e61f56828ca410592 Mon Sep 17 00:00:00 2001
From: Jesse Huang <jesse.huang at sifive.com>
Date: Fri, 5 Sep 2025 20:38:22 -0700
Subject: [PATCH] [RISCV][NFC] Fix typo in RISCVIndirectBranchTracking.cpp
---
llvm/lib/Target/RISCV/RISCVIndirectBranchTracking.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/RISCV/RISCVIndirectBranchTracking.cpp b/llvm/lib/Target/RISCV/RISCVIndirectBranchTracking.cpp
index 43621b8f0f33d..9664ab345dcbf 100644
--- a/llvm/lib/Target/RISCV/RISCVIndirectBranchTracking.cpp
+++ b/llvm/lib/Target/RISCV/RISCVIndirectBranchTracking.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
//
-// The pass adds LPAD (AUIPC with rs1 = X0) machine instructions at the
+// The pass adds LPAD (AUIPC with rd = X0) machine instructions at the
// beginning of each basic block or function that is referenced by an indirect
// jump/call instruction.
//
More information about the llvm-commits
mailing list