summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/RISCV/copysign-casts.ll
Commit message (Collapse)AuthorAgeFilesLines
* [LegalizeTypes][RISCV] Soften FCOPYSIGN operandLuís Marques2019-11-261-0/+18
| | | | | | | | | | Summary: Adds support for softening FCOPYSIGN operands. Adds RISC-V tests that exercise the new softening code. Reviewers: asb, lenary, efriedma Reviewed By: efriedma Tags: #llvm Differential Revision: https://reviews.llvm.org/D70679
* [RISCV] Handle fcopysign(f32, f64) and fcopysign(f64, f32)Luís Marques2019-11-261-0/+92
Summary: Adds tablegen patterns to explicitly handle fcopysign where the magnitude and sign arguments have different types, due to the sign value casts being removed the by DAGCombiner. Support for RV32IF follows in a separate commit. Adds tests for all relevant scenarios except RV32IF. Reviewers: lenary Reviewed By: lenary Tags: #llvm Differential Revision: https://reviews.llvm.org/D70678
OpenPOWER on IntegriCloud