[llvm] Added ROLW/RORW/SLLW/SRAW/SRLW for canCreateUndefOrPoisonForTargetNode (PR #152609)

Jasmine Tang via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 7 16:01:35 PDT 2025


badumbatish wrote:

The only place where I see this piece of code used is via visitFreeze in `llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp`.

But in constructing SLLW, freeze is still wrapping sext and shl, not sllw yet.

Therefore I'm not sure if there's any other tests to be constructed

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


More information about the llvm-commits mailing list