The loop in C code is:
int rdx = a; for (i = 0; i < n; ++i) if(rdx != 3) rdx = b;
I'd like to raise a discussion: Can this loop be vectorized as AnyOf reduction?
My personally answer is no, but I might be mistaken.
Continuing from above, if this is a valid AnyOf reduction, we might need to make some modifications to the process of identifying reductions, as this isn't an FAnyOf but an IAnyOf. This patch will become a pre-commit patch to fix that. However, if this isn't a valid AnyOf reduction, then I will abandon this patch.
What's the reason for checking the debug output instead of the generated IR?