[llvm] [X86] Remove single use assumption in combineVectorSizedSetCCEquality (PR #182200)

Gergo Stomfai via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 03:49:27 PDT 2026


stomfaig wrote:

I think the backtracking on SETCC nodes can be removed, but not much more. In my experiments it seems that there are many cases where a second (benign) user of the load appears for various reasons. These usually improve the semantics of the code, so I am not sure if it is a good idea reverting them.

Though if we remove the setcc traversal, I don't think we traverse any graph nodes twice and the recursion is guaranteed to be bounded.

What do you think?

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


More information about the llvm-commits mailing list