diff options
author | David Sherwood <david.sherwood@arm.com> | 2025-07-15 09:54:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 09:54:58 +0100 |
commit | c363a3f9c858b38afa34f3a8ebcc3fa7a4062315 (patch) | |
tree | c3b3eb7a6a049b140686d39a78e11d9329680872 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 69ea174bf07533b7f63139f78b0ec3d3766aedc4 (diff) | |
download | llvm-c363a3f9c858b38afa34f3a8ebcc3fa7a4062315.zip llvm-c363a3f9c858b38afa34f3a8ebcc3fa7a4062315.tar.gz llvm-c363a3f9c858b38afa34f3a8ebcc3fa7a4062315.tar.bz2 |
[LV] Ensure getScaledReductions only matches extends inside the loop (#148264)
In getScaledReductions for the case where we try to match a partial
reduction of the form:
%phi = phi i32 ...
...
%add = add i32 %phi, %zext
where
%zext = i8 %some_val to i32
we should ensure that %zext is actually inside the loop.
Fixes https://github.com/llvm/llvm-project/issues/148260
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions