diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-22 12:44:10 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-07-22 12:44:10 +0000 |
| commit | b3d719e1cf02ef98859eee69ba713174b8954498 (patch) | |
| tree | a0cf178d02e97e595722e6717d3ecadc3b819e71 /clang/test/Preprocessor/macro_fn.c | |
| parent | 8d372008b132f9372e32ea42b5d23f329ddf8746 (diff) | |
| download | bcm5719-llvm-b3d719e1cf02ef98859eee69ba713174b8954498.tar.gz bcm5719-llvm-b3d719e1cf02ef98859eee69ba713174b8954498.zip | |
[X86] EltsFromConsecutiveLoads - support common source loads (REAPPLIED)
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.
Fixed out of bounds load assert identified in rL366501
Differential Revision: https://reviews.llvm.org/D64551
llvm-svn: 366681
Diffstat (limited to 'clang/test/Preprocessor/macro_fn.c')
0 files changed, 0 insertions, 0 deletions

