diff options
author | Florian Hahn <flo@fhahn.com> | 2025-08-14 19:27:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 19:27:51 +0100 |
commit | db98ac43ec13805e1876c389933eb7155ee1f073 (patch) | |
tree | 607e69f205de3510d6178220c87a5118181b3258 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | 98728d9dc8f38703bc3ebbbf32d45567acaa75cc (diff) | |
download | llvm-db98ac43ec13805e1876c389933eb7155ee1f073.zip llvm-db98ac43ec13805e1876c389933eb7155ee1f073.tar.gz llvm-db98ac43ec13805e1876c389933eb7155ee1f073.tar.bz2 |
[LV] Use shl for ((VF * Step) * vscale) in createStepForVF. (#153495)
Directly emit shl instead of a multiply if VF * Step is a power-of-2. The
main motivation here is to prepare the code and test for directly
generating and expanding a SCEV expression of the minimum iteration
count. SCEVExpander will directly emit shl for multiplies with
powers-of-2.
InstCombine will also performs this combine, so end-to-end this should
effectively by NFC.
PR: https://github.com/llvm/llvm-project/pull/153495
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions