[all-commits] [llvm/llvm-project] 9fd693: [LoongArch] Use vector extend for sitofp/uitofp (#...

lrzlin via All-commits all-commits at lists.llvm.org
Sun Jun 28 18:48:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fd6933cf03f7e46fd4b8ec579f7daa8ad26361d
      https://github.com/llvm/llvm-project/commit/9fd6933cf03f7e46fd4b8ec579f7daa8ad26361d
  Author: lrzlin <linrunze at loongson.cn>
  Date:   2026-06-29 (Mon, 29 Jun 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/sitofp.ll
    M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/uitofp.ll
    M llvm/test/CodeGen/LoongArch/lsx/ir-instruction/sitofp.ll
    M llvm/test/CodeGen/LoongArch/lsx/ir-instruction/uitofp.ll

  Log Message:
  -----------
  [LoongArch] Use vector extend for sitofp/uitofp (#202496)

Called sign/zero extend first in `performS[U]INT_TO_FPCombine` before
doing vector sitofp/uitofp, which avoid inefficient scalarization.



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