[llvm] [InstCombine] Fold rotate patterns with ZExt/Trunc at different Points (PR #142578)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 06:00:02 PDT 2025


https://github.com/nikic commented:

This adds m_TruncOrZExtOrSelf in five places. I really don't want to spend time trying to figure out if all of those are correct (especially for truncations this is non-obvious?) The tests don't seem to cover all cases, and I don't see even a single trunc in the proofs.

https://github.com/llvm/llvm-project/pull/142578


More information about the llvm-commits mailing list