diff options
author | Florian Hahn <flo@fhahn.com> | 2024-10-06 22:53:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-06 22:53:13 +0100 |
commit | 7f74651837b8f95996ea4c774b2e604020446951 (patch) | |
tree | 17ec162e7c1bc2ab98c7753bcabba021df1ee5fd /clang-tools-extra/clang-tidy/boost/UseRangesCheck.cpp | |
parent | b0c070e2637935030ecd36777f22542bf371ef8c (diff) | |
download | llvm-7f74651837b8f95996ea4c774b2e604020446951.zip llvm-7f74651837b8f95996ea4c774b2e604020446951.tar.gz llvm-7f74651837b8f95996ea4c774b2e604020446951.tar.bz2 |
[VPlan] Use pointer to member 0 as VPInterleaveRecipe's pointer arg. (#106431)
Update VPInterleaveRecipe to always use the pointer to member 0 as
pointer argument. This in many cases helps to remove unneeded index
adjustments and simplifies VPInterleaveRecipe::execute.
In some rare cases, the address of member 0 does not dominate the insert
position of the interleave group. In those cases a PtrAdd VPInstruction
is emitted to compute the address of member 0 based on the address of
the insert position. Alternatively we could hoist the recipe computing
the address of member 0.
Diffstat (limited to 'clang-tools-extra/clang-tidy/boost/UseRangesCheck.cpp')
0 files changed, 0 insertions, 0 deletions