Add missing FOLD rule for CONV.u64.int + sign-extension.

This commit is contained in:
Mike Pall 2011-10-22 02:03:07 +02:00
parent fee957b22d
commit aa502203a6

View File

@ -967,6 +967,7 @@ LJFOLDF(simplify_floor_conv)
/* Strength reduction of widening. */ /* Strength reduction of widening. */
LJFOLD(CONV any IRCONV_I64_INT) LJFOLD(CONV any IRCONV_I64_INT)
LJFOLD(CONV any IRCONV_U64_INT)
LJFOLDF(simplify_conv_sext) LJFOLDF(simplify_conv_sext)
{ {
IRRef ref = fins->op1; IRRef ref = fins->op1;