[all-commits] [llvm/llvm-project] c1d011: [PowerPC] Materialize floats in the range [-16.0, ...
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Wed Jan 4 10:52:43 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c1d0118459c814824b8a4c8f423b6b91d16af785
https://github.com/llvm/llvm-project/commit/c1d0118459c814824b8a4c8f423b6b91d16af785
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.td
M llvm/lib/Target/PowerPC/PPCInstrVSX.td
M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
M llvm/test/CodeGen/PowerPC/aix32-vector-vararg-caller-split.ll
M llvm/test/CodeGen/PowerPC/elf64-byval-cc.ll
M llvm/test/CodeGen/PowerPC/fma-combine.ll
M llvm/test/CodeGen/PowerPC/fma-mutate.ll
M llvm/test/CodeGen/PowerPC/fmf-propagation.ll
M llvm/test/CodeGen/PowerPC/handle-f16-storage-type.ll
M llvm/test/CodeGen/PowerPC/non-debug-mi-search-frspxsrsp.ll
M llvm/test/CodeGen/PowerPC/pow-025-075-intrinsic-scalar-mass-fast.ll
M llvm/test/CodeGen/PowerPC/recipest.ll
M llvm/test/CodeGen/PowerPC/scalar_cmp.ll
M llvm/test/CodeGen/PowerPC/select_const.ll
M llvm/test/CodeGen/PowerPC/toc-float.ll
M llvm/test/CodeGen/PowerPC/vec_extract_p9.ll
Log Message:
-----------
[PowerPC] Materialize floats in the range [-16.0, 15.0].
Previous to this patch we only materialized 0.0 and all other floating point
values would be loaded from the TOC. This patch adds materialization for the
floating point values that can be represented as integers in [-16.0, 15.0].
For example we will now materialize 3.0 and -5.0 but not 4.7.
Reviewed By: nemanjai, lei, #powerpc
Differential Revision: https://reviews.llvm.org/D138844
More information about the All-commits
mailing list