diff options
author | ZhaoQi <zhaoqi01@loongson.cn> | 2024-01-29 11:15:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 11:15:11 +0800 |
commit | 07dfa61ace272fc5fc7f486cf42a3d603c8c21f5 (patch) | |
tree | 4fde7dd5dda0d796364025769f9793485cd80ce6 /llvm | |
parent | ae46855f53b6fe39a8d17797a49b2911c08fb973 (diff) | |
download | llvm-07dfa61ace272fc5fc7f486cf42a3d603c8c21f5.zip llvm-07dfa61ace272fc5fc7f486cf42a3d603c8c21f5.tar.gz llvm-07dfa61ace272fc5fc7f486cf42a3d603c8c21f5.tar.bz2 |
[LoongArch] Fix a typo in getVariantKindName (NFC) (#79567)
Looks like a slip of the pen.
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp b/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp index 8ca8876..d6fa3b6 100644 --- a/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp +++ b/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp @@ -73,7 +73,7 @@ StringRef LoongArchMCExpr::getVariantKindName(VariantKind Kind) { case VK_LoongArch_B21: return "b21"; case VK_LoongArch_B26: - return "b21"; + return "b26"; case VK_LoongArch_ABS_HI20: return "abs_hi20"; case VK_LoongArch_ABS_LO12: |