[InstCombine] avoid crash on fold of icmp with cast operand
We could do better by inserting a bitcast from scalar int to vector int or using an insertelement (the alternate test does not crash because there's an independent fold like that). But this doesn't seem like a likely pattern, so just bail out for now. Fixes issue #55516.
Loading
Please sign in to comment