Calling getShiftAmountTy with LegalTypes set may return a type that's too narrow to hold the shift amount for integer type it's applied to.
Fixes the regression introduced by D79096
Differential D79405
[SelectionDAG] Fix assertion failure with big shift amounts LemonBoy on May 5 2020, 4:19 AM. Authored by
Details Calling getShiftAmountTy with LegalTypes set may return a type that's too narrow to hold the shift amount for integer type it's applied to. Fixes the regression introduced by D79096
Diff Detail
Event TimelineComment Actions Since I have no commit access I'll have to disturb you once again to get this committed :) |