[InstCombine] add type constraint to intrinsic+shuffle fold
This check is in the related fold for binops, but it was missed when the code was adapted for intrinsics in 432c199e. The new test would crash when trying to create a new intrinsic with mismatched types.
Loading
Please sign in to comment