[llvm] [GlobalISel] Combine (X >> C) << C to X & ((-1 >> C) << C) (PR #114821)

Dávid Ferenc Szabó via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 06:23:31 PST 2024


dfszabo wrote:

> There are no hits in the existing test? Looks kinda artificial.

https://godbolt.org/z/vf9EsrfdG

SelectionDAG handles it.

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


More information about the llvm-commits mailing list