[all-commits] [llvm/llvm-project] 64a047: [LoongArch] Strengthen stack size estimation for L...

tangaac via All-commits all-commits at lists.llvm.org
Fri Jul 18 01:12:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64a0478e08829ec6bcae2b05e154aa58c2c46ac0
      https://github.com/llvm/llvm-project/commit/64a0478e08829ec6bcae2b05e154aa58c2c46ac0
  Author: tangaac <tangyan01 at loongson.cn>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
    M llvm/test/CodeGen/LoongArch/calling-conv-common.ll
    M llvm/test/CodeGen/LoongArch/calling-conv-half.ll
    M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
    M llvm/test/CodeGen/LoongArch/emergency-spill-slot.ll
    M llvm/test/CodeGen/LoongArch/frame.ll
    M llvm/test/CodeGen/LoongArch/intrinsic-memcpy.ll
    M llvm/test/CodeGen/LoongArch/lasx/fpowi.ll
    M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/extractelement.ll
    M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/insertelement.ll
    M llvm/test/CodeGen/LoongArch/llvm.sincos.ll
    A llvm/test/CodeGen/LoongArch/lsx/pr146455.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/unaligned-memcpy-inline.ll
    M llvm/test/CodeGen/LoongArch/vararg.ll

  Log Message:
  -----------
  [LoongArch] Strengthen stack size estimation for LSX/LASX extension (#146455)

This patch adds an emergency spill slot when ran out of registers.
PR #139201 introduces `vstelm` instructions with only 8-bit imm offset, 
it causes no spill slot to store the spill registers.



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