[llvm] 193df2a - [RISCV][NFC] Fix typo in RISCVIndirectBranchTracking.cpp (#157221)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 8 00:02:52 PDT 2025


Author: Jesse Huang
Date: 2025-09-08T15:02:48+08:00
New Revision: 193df2a12bb28d1e04217c1cdb39048c5d19aed7

URL: https://github.com/llvm/llvm-project/commit/193df2a12bb28d1e04217c1cdb39048c5d19aed7
DIFF: https://github.com/llvm/llvm-project/commit/193df2a12bb28d1e04217c1cdb39048c5d19aed7.diff

LOG: [RISCV][NFC] Fix typo in RISCVIndirectBranchTracking.cpp (#157221)

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVIndirectBranchTracking.cpp

Removed: 
    


################################################################################
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