aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-09-11 21:04:33 +0100
committerFlorian Hahn <flo@fhahn.com>2024-09-11 21:04:34 +0100
commitea83e1c05a5adee5d8f9e680356ee57556ba64a1 (patch)
tree8a23444b044cbffe7cf712a127437dba57d1f203 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parentb8239e1201f5871bed5b633b76fa9536672f287f (diff)
downloadllvm-ea83e1c05a5adee5d8f9e680356ee57556ba64a1.zip
llvm-ea83e1c05a5adee5d8f9e680356ee57556ba64a1.tar.gz
llvm-ea83e1c05a5adee5d8f9e680356ee57556ba64a1.tar.bz2
[LV] Assign cost to all interleave members when not interleaving.
At the moment, the full cost of all interleave group members is assigned to the instruction at the group's insert position, even if the decision was to not form an interleave group. This can lead to inaccurate cost estimates, e.g. if the instruction at the insert position is dead. If the decision is to not vectorize but scalarize or scather/gather, then the cost will be to total cost for all members. In those cases, assign individual the cost per member, to more closely reflect to choice per instruction. This fixes a divergence between legacy and VPlan-based cost model. Fixes https://github.com/llvm/llvm-project/issues/108098.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions