[all-commits] [llvm/llvm-project] 828637: LoongArch: Remove VK_CALL/VK_CALL_PLT and don't pr...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue May 6 23:31:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82863783a2518b814e7ffc03b0e40a185a39d1b8
      https://github.com/llvm/llvm-project/commit/82863783a2518b814e7ffc03b0e40a185a39d1b8
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
    M llvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.h
    M llvm/test/CodeGen/LoongArch/addrspacecast.ll
    M llvm/test/CodeGen/LoongArch/alloca.ll
    M llvm/test/CodeGen/LoongArch/bnez-beqz.ll
    M llvm/test/CodeGen/LoongArch/code-models.ll
    M llvm/test/CodeGen/LoongArch/double-br-fcmp.ll
    M llvm/test/CodeGen/LoongArch/eh-dwarf-cfa.ll
    M llvm/test/CodeGen/LoongArch/exception-pointer-register.ll
    M llvm/test/CodeGen/LoongArch/fdiv-reciprocal-estimate.ll
    M llvm/test/CodeGen/LoongArch/float-br-fcmp.ll
    M llvm/test/CodeGen/LoongArch/fp-expand.ll
    M llvm/test/CodeGen/LoongArch/fp-max-min.ll
    M llvm/test/CodeGen/LoongArch/fp-maximumnum-minimumnum.ll
    M llvm/test/CodeGen/LoongArch/fp-reciprocal.ll
    M llvm/test/CodeGen/LoongArch/fp-trunc-store.ll
    M llvm/test/CodeGen/LoongArch/fp16-promote.ll
    M llvm/test/CodeGen/LoongArch/frint.ll
    M llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    M llvm/test/CodeGen/LoongArch/fsqrt.ll
    M llvm/test/CodeGen/LoongArch/intrinsic-csr-side-effects.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/call.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/float-convert.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/load-store-atomic.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/sdiv-udiv-srem-urem.ll
    M llvm/test/CodeGen/LoongArch/machinelicm-address-pseudos.ll
    M llvm/test/CodeGen/LoongArch/numeric-reg-names.ll
    M llvm/test/CodeGen/LoongArch/soft-fp-to-int.ll
    M llvm/test/CodeGen/LoongArch/spill-reload-cfr.ll
    M llvm/test/CodeGen/LoongArch/stack-realignment-with-variable-sized-objects.ll
    M llvm/test/CodeGen/LoongArch/stack-realignment.ll
    M llvm/test/CodeGen/LoongArch/statepoint-call-lowering.ll
    M llvm/test/CodeGen/LoongArch/tls-models.ll
    M llvm/test/CodeGen/LoongArch/unaligned-memcpy-inline.ll
    M llvm/test/CodeGen/LoongArch/vector-fp-imm.ll
    M llvm/test/MC/LoongArch/Relocations/relocations.s

  Log Message:
  -----------
  LoongArch: Remove VK_CALL/VK_CALL_PLT and don't print %plt

`%plt` is a redundant relocation specifier: `bl %plt(foo)` is identical
to `bl foo`. Let's replace VK_CALL/VK_CALL_PLT with R_LARCH_B26 and
remove the only specifier constants.

Pull Request: https://github.com/llvm/llvm-project/pull/138632



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list