[all-commits] [llvm/llvm-project] bde97f: [Mips] Fix wrong ELF FP ABI info when inline asm w...

yingopq via All-commits all-commits at lists.llvm.org
Tue Jul 29 00:44:55 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: bde97f2cefba49a9753c23517918c07e743a9a9b
      https://github.com/llvm/llvm-project/commit/bde97f2cefba49a9753c23517918c07e743a9a9b
  Author: yingopq <115543042+yingopq at users.noreply.github.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
    A llvm/test/CodeGen/Mips/abiflags-soft-float.ll

  Log Message:
  -----------
  [Mips] Fix wrong ELF FP ABI info when inline asm was empty (#146457)

When Mips process emitStartOfAsmFile and updateABIInfo, it did not know
the real value of IsSoftFloat and STI.useSoftFloat(). And when inline
asm instruction was empty, Mips did not process asm parser, so it would
not do TS.updateABIInfo(STI) again and at this time the value of
IsSoftFloat is correct.

Fix #135283.

(cherry picked from commit 778fb76e6308534a63239a91b98f5dad055f6fdb)



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