[all-commits] [llvm/llvm-project] 4bbbae: [RISCV] Fix Zfa fceil/ffloor codegen bugs
joshua-arch1 via All-commits
all-commits at lists.llvm.org
Fri Mar 31 12:19:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4bbbae61d3f13fa21425aee76d26f4d8d8cbc67f
https://github.com/llvm/llvm-project/commit/4bbbae61d3f13fa21425aee76d26f4d8d8cbc67f
Author: Jun Sha (Joshua) <cooper.joshua at linux.alibaba.com>
Date: 2023-03-31 (Fri, 31 Mar 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZfa.td
M llvm/test/CodeGen/RISCV/double-zfa.ll
M llvm/test/CodeGen/RISCV/float-zfa.ll
M llvm/test/CodeGen/RISCV/half-zfa.ll
Log Message:
-----------
[RISCV] Fix Zfa fceil/ffloor codegen bugs
D143982 confused ceil and floor. Ceil should use fround instructions with 'rup' and floor should use 'rdn'.
Differential Revision: https://reviews.llvm.org/D146516
More information about the All-commits
mailing list