diff options
| author | 陈子昂 <2802328816@qq.com> | 2026-02-12 17:42:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-12 17:42:13 +0800 |
| commit | 6117bdd90324af22a920d56d673acff21342a1cb (patch) | |
| tree | 9759b4a6b6aaf290223079b59321b4ea7068476a /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | b20d7d0278059735bb8eb538ac51e13b58895c1a (diff) | |
| download | llvm-6117bdd90324af22a920d56d673acff21342a1cb.zip llvm-6117bdd90324af22a920d56d673acff21342a1cb.tar.gz llvm-6117bdd90324af22a920d56d673acff21342a1cb.tar.bz2 | |
[DAGCombiner] Fix subvector extraction index for big-endian STLF (#180795)
This PR fixes a big-endian regression in `ForwardStoreValueToDirectLoad`
where the wrong subvector was being extracted. In big-endian, memory
offset 0 corresponds to the high bits, so the extraction index needs to
be adjusted.
As suggested by @KennethHilmersson, calculate the extraction index as
the difference between the number of elements in the intermediate vector
and the load vector when in big-endian mode.
Special thanks to Kenneth Hilmersson for providing the fix logic and the
ARM regression test.
https://github.com/llvm/llvm-project/pull/172523#issuecomment-3878065191
https://github.com/llvm/llvm-project/pull/172523#issuecomment-3879575092
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
