llvm-project/llvm/lib/Transforms/AggressiveInstCombine
Yingwei Zheng c58e22e0fc
[AggressiveInstCombine] Refactor foldLoadsRecursive to use m_ShlOrSelf (#155176)
This patch was a part of
https://github.com/llvm/llvm-project/pull/154375.
Two functional changes:
1. Allow matching other commuted patterns.
2. Allow combining loads even if there are multiple uses on a load. It
is beneficial in practice.
2025-08-25 20:11:10 +08:00
..