Don't replace shifts greater than the type with the maximum shift.
This isn't hit anywhere in the tests, and somewhere else is replacing these with undef.
Differential D3371
Remove dead code in instcombine. Authored by arsenm on Apr 14 2014, 3:10 PM.
Details
Don't replace shifts greater than the type with the maximum shift. This isn't hit anywhere in the tests, and somewhere else is replacing these with undef.
Diff Detail Event TimelineComment Actions Add assert. I don't think this is really necessary since I don't think anything after this would actually break if it were true. |