[all-commits] [llvm/llvm-project] 25fc7d: [LoongArch] Convert ld to fld when result is only ...
Zhaoxin Yang via All-commits
all-commits at lists.llvm.org
Wed Oct 29 00:33:05 PDT 2025
Branch: refs/heads/users/ylzsx/load-itofp-combine
Home: https://github.com/llvm/llvm-project
Commit: 25fc7d1d06a7b6b6a9d19ed82586094f58f8c527
https://github.com/llvm/llvm-project/commit/25fc7d1d06a7b6b6a9d19ed82586094f58f8c527
Author: yangzhaoxin <yangzhaoxin at loongson.cn>
Date: 2025-10-29 (Wed, 29 Oct 2025)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
M llvm/test/CodeGen/LoongArch/load-itofp-combine.ll
Log Message:
-----------
[LoongArch] Convert ld to fld when result is only used by sitofp
If the result of an integer load is only used by an integer-to-float
conversion, use a fp load instead. This eliminates an
integer-to-float-move (movgr2fr) instruction.
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