[PATCH] D98929: Add missing cases in RISCVMCExpr::getVariantKindName
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 19 01:59:12 PDT 2021
sepavloff created this revision.
sepavloff added reviewers: asb, craig.topper.
Herald added subscribers: vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
sepavloff requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98929
Files:
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
Index: llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
===================================================================
--- llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
+++ llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
@@ -160,6 +160,12 @@
return "tls_ie_pcrel_hi";
case VK_RISCV_TLS_GD_HI:
return "tls_gd_pcrel_hi";
+ case VK_RISCV_CALL:
+ return "call";
+ case VK_RISCV_CALL_PLT:
+ return "call_plt";
+ case VK_RISCV_32_PCREL:
+ return "32_pcrel";
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98929.331798.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/381bd90f/attachment.bin>
More information about the llvm-commits
mailing list