[AArch64] Protect against overflowing shift amounts in performSETCCCombine
In the attached test case we can get into positions where the shift gets a constant shift amount that is negative or larger than the bitwidth, leading to trying to create an invalid constant. Add a check to make sure we can handle it without assertions. Fixes #60530
Loading
Please sign in to comment