[llvm] [DAGCombiner] Expose CSE for shifts of logic operations (PR #213091)

Hao Ren via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 11:46:03 PDT 2026


================

----------------
nvidia-moomoo wrote:

Even if we emit a bunch of same factor-out SHL, the get-node will deduplicate for us. The reason we match siblings is that we want to make it profitable (at least eliminate one shift). 

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


More information about the llvm-commits mailing list