[llvm] [RISCV] Omit "@plt" in assembler output "call foo at plt" (PR #72467)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 19:11:47 PST 2023


================
@@ -41,8 +41,6 @@ void RISCVMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const {
   if (HasVariant)
     OS << '%' << getVariantKindName(getKind()) << '(';
   Expr->print(OS, MAI);
-  if (Kind == VK_RISCV_CALL_PLT)
-    OS << "@plt";
----------------
jrtc27 wrote:

We want to always emit `@plt`, not never

https://github.com/llvm/llvm-project/pull/72467


More information about the llvm-commits mailing list