Shift amout is determined by TLI.getShiftAmountTy. We can't truncate it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The motivation of this change comes from D136014. I compare two shift amount by apint trigged an assert. It happens in DAGCombiner, LegalizeDAG haven't executed yet.
amout->amount