diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-04-29 09:57:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 09:57:37 -0400 |
commit | 37ae4ad0eef338776c7e2cffb3896153d43dcd90 (patch) | |
tree | a8fef19a00498ed857cee6337ba90067aa072aeb /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 040b5a1255dba79f6e6819ac4864256127f810a0 (diff) | |
download | llvm-37ae4ad0eef338776c7e2cffb3896153d43dcd90.zip llvm-37ae4ad0eef338776c7e2cffb3896153d43dcd90.tar.gz llvm-37ae4ad0eef338776c7e2cffb3896153d43dcd90.tar.bz2 |
[SLP]Support minbitwidth analisys for buildvector nodes.
Metric: size..text
Program size..text
exp ref diff
test-suite :: MultiSource/Benchmarks/mediabench/gsm/toast/toast.test 42906.00 42986.00 0.2%
test-suite :: MultiSource/Benchmarks/MiBench/telecomm-gsm/telecomm-gsm.test 42909.00 42989.00 0.2%
test-suite :: External/SPEC/CINT2017rate/525.x264_r/525.x264_r.test 664581.00 664661.00 0.0%
test-suite :: External/SPEC/CINT2017speed/625.x264_s/625.x264_s.test 664581.00 664661.00 0.0%
Less is better.
Replaces `buildvector <p x in> + trunc <p x in> to <p x im>` sequences to
`buildvector <p x im> of { trunc in to im }` scalars, which is free in
most cases, results in better code.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/88504
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions