diff options
author | Florian Hahn <flo@fhahn.com> | 2025-10-02 11:53:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-02 10:53:17 +0000 |
commit | 7c4f188f27ee7c562c2aa11b2384fd0ef918be94 (patch) | |
tree | bd75faced94a0d75ab0b2fdd5a8ce38870087a13 /llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp | |
parent | 2165aa4c9dc828f18fe792551ed42799e65e0507 (diff) | |
download | llvm-7c4f188f27ee7c562c2aa11b2384fd0ef918be94.zip llvm-7c4f188f27ee7c562c2aa11b2384fd0ef918be94.tar.gz llvm-7c4f188f27ee7c562c2aa11b2384fd0ef918be94.tar.bz2 |
[LV] Support multiplies by constants when forming scaled reductions. (#161092)
We can create partial reductions for multiplies with constants, if the
constant is small enough to be extended from source to destination type
w/o changing the value.
This only handles constant on the right side of a multiply, relying on
other passes to canonicalize the input.
Alive2 Proofs: https://alive2.llvm.org/ce/z/iWRMr6
PR: https://github.com/llvm/llvm-project/pull/161092
Diffstat (limited to 'llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp')
0 files changed, 0 insertions, 0 deletions