[all-commits] [llvm/llvm-project] 80723e: Reland: [LoongArch] Custom scalar UINT_TO_FP and F...

lrzlin via All-commits all-commits at lists.llvm.org
Tue Jun 30 18:33:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80723e01f328a09e7e8374d4f61822288daabf9c
      https://github.com/llvm/llvm-project/commit/80723e01f328a09e7e8374d4f61822288daabf9c
  Author: lrzlin <linrunze at loongson.cn>
  Date:   2026-07-01 (Wed, 01 Jul 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/float-convert.ll

  Log Message:
  -----------
  Reland: [LoongArch] Custom scalar UINT_TO_FP and FP_TO_UINT with LSX instructions (#206655)

Using `vftintrz.lu.d` for converting scalar double/float values to
unsigned 64-bit integers, and `vffint.d.lu` vice versa.

Remove incorrect uint64 to float conversion, which is suffered
from double-rounding issue.



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