[llvm] [DAG] Add funnel-shift matchers to SDPatternMatch (Fixes #185880) (PR #186593)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 15:13:42 PDT 2026


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

----------------
mshockwave wrote:

could we simplify write `return matchShiftOr(Ctx, N, N.getValueType().getScalarSizeInBits());` here? `matchShiftOr` is gonna return false for non-`ISD::OR` nodes anyway.

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


More information about the llvm-commits mailing list