[llvm] a9f9520 - [RISCV] Rename template parameter. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 12 00:31:56 PST 2022
Author: Craig Topper
Date: 2022-11-12T00:31:31-08:00
New Revision: a9f95209073ea80882a786f547092a583aae7a27
URL: https://github.com/llvm/llvm-project/commit/a9f95209073ea80882a786f547092a583aae7a27
DIFF: https://github.com/llvm/llvm-project/commit/a9f95209073ea80882a786f547092a583aae7a27.diff
LOG: [RISCV] Rename template parameter. NFC
Added:
Modified:
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
index cb5c930a1a40..d0c05ecdd903 100644
--- a/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
+++ b/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
@@ -63,8 +63,8 @@ class RISCVDAGToDAGISel : public SelectionDAGISel {
bool selectZExti32(SDValue N, SDValue &Val);
bool selectSHXADDOp(SDValue N, unsigned ShAmt, SDValue &Val);
- template <unsigned Width> bool selectSHXADDOp(SDValue N, SDValue &Val) {
- return selectSHXADDOp(N, Width, Val);
+ template <unsigned ShAmt> bool selectSHXADDOp(SDValue N, SDValue &Val) {
+ return selectSHXADDOp(N, ShAmt, Val);
}
bool hasAllNBitUsers(SDNode *Node, unsigned Bits) const;
More information about the llvm-commits
mailing list