[all-commits] [llvm/llvm-project] 7e8ff2: [RISCV][GISel] Optimize +0.0 to use fcvt.d.w for s...
Shaoce SUN via All-commits
all-commits at lists.llvm.org
Mon Aug 18 10:52:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e8ff2afa9ddfe1d7c42bb58cc9523006c34396b
https://github.com/llvm/llvm-project/commit/7e8ff2afa9ddfe1d7c42bb58cc9523006c34396b
Author: Shaoce SUN <sunshaoce at outlook.com>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/double-arith.ll
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/fp-constant.mir
Log Message:
-----------
[RISCV][GISel] Optimize +0.0 to use fcvt.d.w for s64 on rv32 (#153978)
Resolve the TODO: on RV32, when constructing the double-precision
constant `+0.0` for `s64`, `BuildPairF64Pseudo` can be optimized to use
the `fcvt.d.w` instruction to generate the result directly.
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