diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-18 14:33:25 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-18 14:33:25 +0000 |
commit | 48104ef7c9c653bbb732b66d7254957389fea337 (patch) | |
tree | e28afb41be74b0135c3a7dfcc3d55866470b31e0 /lldb/packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/main.cpp | |
parent | 64becc11a87a6bf2328550009f3c09a807d36931 (diff) | |
download | bcm5719-llvm-48104ef7c9c653bbb732b66d7254957389fea337.tar.gz bcm5719-llvm-48104ef7c9c653bbb732b66d7254957389fea337.zip |
[X86] EltsFromConsecutiveLoads - support common source loads
This patch enables us to find the source loads for each element, splitting them into a Load and ByteOffset, and attempts to recognise consecutive loads that are in fact from the same source load.
A helper function, findEltLoadSrc, recurses to find a LoadSDNode and determines the element's byte offset within it. When attempting to match consecutive loads, byte offsetted loads then attempt to matched against a previous load that has already been confirmed to be a consecutive match.
Next step towards PR16739 - after this we just need to account for shuffling/repeated elements to create a vector load + shuffle.
Differential Revision: https://reviews.llvm.org/D64551
llvm-svn: 366441
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/main.cpp')
0 files changed, 0 insertions, 0 deletions