Skip to content

Commit 947a81e

Browse files
committed
Update RISCVExtensionBitmask declare and comment
1 parent a442053 commit 947a81e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/RISCV/RISCVFeatures.td

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ class RISCVExtension<string name, int major, int minor, string desc,
3838
}
3939

4040
// The groupID/bitmask of RISCVExtension is used to retrieve a specific bit value
41-
// from __riscv_feature_bit based on the groupID and bitmask.
42-
// groupID - groupID of extension
43-
// bitmaskShift - bitmask shift of extension
44-
class RISCVExtensionBitmask<bits<3> groupID, int bitmaskShift> {
41+
// from __riscv_feature_bits based on the groupID and bitmask.
42+
// groupID - groupID of extension
43+
// bitPos - bit position of extension bitmask
44+
class RISCVExtensionBitmask<bits<3> groupID, int bitPos> {
4545
int GroupID = groupID;
46-
int BitPos = bitmaskShift;
46+
int BitPos = bitPos;
4747
}
4848

4949
// Version of RISCVExtension to be used for Experimental extensions. This

0 commit comments

Comments
 (0)