On Sat, Jan 20, 2024 at 12:11:10PM +0100, Richard Biener wrote: > > The following patch ICEs because fre3 leaves around unfolded > > _1 = VIEW_CONVERT_EXPR<_BitInt(129)>(0); > > Hmm, const_unop should handle this, I suppose either we fail to convert this > to a NOP_EXPR or native encode/interpret do not handle it?
We just propagate _BitInt(192) s; _BitInt(129) _1; s_6 = 0; _1 = VIEW_CONVERT_EXPR<_BitInt(129)>(s_6); to _1 = VIEW_CONVERT_EXPR<_BitInt(129)>(0); without trying to fold it in any way (note, fre1, I mistyped fre3). And the earlier is result of sra, before that it is s = {}; _1 = s.b; Jakub