You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes all the places in MLIR that hit the new assertion added
in #106524, in preparation for enabling it by default. That is,
cases where the value passed to the APInt constructor is not an N-bit
signed/unsigned integer, where N is the bit width and signedness is
determined by the isSigned flag.
The fixes either set the correct value for isSigned, or set the
implicitTrunc flag to retain the old behavior. I've left TODOs
for the latter case in some places, where I think that it may be
worthwhile to stop doing implicit truncation in the future.
Note that the assertion is currently still disabled by default, so
this patch is mostly NFC.
0 commit comments