diff options
| author | Nikita Popov <npopov@redhat.com> | 2025-07-21 10:49:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-21 10:49:38 +0200 |
| commit | a216702406f77e73fae9fe192f5e441a967e206f (patch) | |
| tree | 0c6c772ddf3b3df546e7dc68e10c0c3ce41e025c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 41274582fdff16bbce3db80e56cad5fe4133b16b (diff) | |
[InstCombine] Merge one-use GEP offsets during expansion (#147263)
When expanding a GEP chain, if there is a chain of one-use GEPs followed
by a multi-use GEP, rewrite the multi-use GEP to include the one-use
GEPs offsets.
This means the offsets from the one-use GEPs can be reused by the offset
expansion without additional cost (from computing them again with a
different reassociation).
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
