llvm-project
a2167024 - [InstCombine] Merge one-use GEP offsets during expansion (#147263)

Commit
50 days ago
[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).
Author
Parents
Loading