Browse Source

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

Mike Pall 14 years ago
parent
commit
aa502203a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lj_opt_fold.c

+ 1 - 0
src/lj_opt_fold.c

@@ -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;