diff options
author | Luke Lau <luke@igalia.com> | 2023-08-30 00:05:05 +0100 |
---|---|---|
committer | Luke Lau <luke@igalia.com> | 2023-08-30 15:22:57 +0100 |
commit | 3a4ad45a2c5e700b0245db85b0364f5a62fa4359 (patch) | |
tree | ecc07db1241bbc9e78fffd0be7d580c8beeee86c /llvm/lib/TextAPI/InterfaceFile.cpp | |
parent | aa539b128f02fdd3a0c1469da3ff943cc4a8c425 (diff) | |
download | llvm-3a4ad45a2c5e700b0245db85b0364f5a62fa4359.zip llvm-3a4ad45a2c5e700b0245db85b0364f5a62fa4359.tar.gz llvm-3a4ad45a2c5e700b0245db85b0364f5a62fa4359.tar.bz2 |
[DAGCombiner] Combine trunc (splat_vector x) -> splat_vector (trunc x)
From the discussion in https://reviews.llvm.org/D158853, moving the truncate
into the splat helps more splatted scalar operands get selected on RISC-V, and
also avoids the need for splat_vector_parts on RV32.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D159147
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions