At least I think that's what the 32 here is. Use RegisterBitWidth
instead.
While there replace zext with zextOrSelf to simplify the code.
Differential D113495
[TypePromotion] Fix a hardcoded use of 32 as the size being promoted to. craig.topper on Nov 9 2021, 9:52 AM. Authored by
Details At least I think that's what the 32 here is. Use RegisterBitWidth While there replace zext with zextOrSelf to simplify the code.
Diff Detail
Event TimelineComment Actions Do you mind making a couple of other adjustments whilst you are here? If not, I can look into them later - I apparently need to look into adjusting this same function.
|
TypePromotion::TypeSize -> TypeSize ?