Skip to content

Commit 07dfa61

Browse files
authored
[LoongArch] Fix a typo in getVariantKindName (NFC) (#79567)
Looks like a slip of the pen.
1 parent ae46855 commit 07dfa61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ StringRef LoongArchMCExpr::getVariantKindName(VariantKind Kind) {
7373
case VK_LoongArch_B21:
7474
return "b21";
7575
case VK_LoongArch_B26:
76-
return "b21";
76+
return "b26";
7777
case VK_LoongArch_ABS_HI20:
7878
return "abs_hi20";
7979
case VK_LoongArch_ABS_LO12:

0 commit comments

Comments
 (0)