jameysharp commented on issue #5873:
@afonso360, you've been working on the sign-extension bits this PR relies on, as well as the
selectlowerings that this affects. What are your thoughts on this PR?I was wondering if it would be better to pass an
ExtendOptonormalize_cmp_value, instead of anIntCC. Most of the callers always want a zero-extend and some of them have to fake a condition code in this PR, so maybe passing the choice of sign-extending or zero-extending directly would be more clear.I don't know what the best way to do this is. I think I understand this PR though, and if it looks good to @afonso360 then it looks good to me.
yuyang-ok commented on issue #5873:
@jameysharp It is hard to decide use
IntCCorExtendOpas parameter tonormalize_cmp_valuetoo.
Because the function namednormalize_cmp_valueI thought maybe better pass theIntCC.
ActualyIntCC.EqualandIntCC.NotEqualmake no differrence.
yuyang-ok edited a comment on issue #5873:
@jameysharp It is hard to decide use
IntCCorExtendOpas parameter tonormalize_cmp_valueto me too.
Because the function namednormalize_cmp_valueI thought maybe better pass theIntCC.
ActualyIntCC.EqualandIntCC.NotEqualmake no differrence.
yuyang-ok commented on issue #5873:
@jameysharp Maybe a
convertSo we can acceptIntCCandExtendOPboth.
yuyang-ok edited a comment on issue #5873:
@jameysharp Maybe a
convertSo we can acceptIntCCandExtendOPboth.
Likeconvert Intcc ExtendOp convert_intcc_to_extend_opandnormalize_cmp_valueacceptExtendOpas parameter.
yuyang-ok edited a comment on issue #5873:
@jameysharp Maybe a
convertSo we can acceptIntCCandExtendOPboth.
Like(convert Intcc ExtendOp convert_intcc_to_extend_op)andnormalize_cmp_valueacceptExtendOpas parameter.
yuyang-ok commented on issue #5873:
@jameysharp I have changed the parameter to
ExtendOp.
yuyang-ok commented on issue #5873:
@jameysharp @afonso360 I think we are ready.
Last updated: Dec 06 2025 at 06:05 UTC