aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_opt_fold.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_opt_fold.c b/src/lj_opt_fold.c
index 28758013..9675fca2 100644
--- a/src/lj_opt_fold.c
+++ b/src/lj_opt_fold.c
@@ -1049,8 +1049,11 @@ LJFOLDF(simplify_intmul_k64)
1049{ 1049{
1050 if (ir_kint64(fright)->u64 == 0) /* i * 0 ==> 0 */ 1050 if (ir_kint64(fright)->u64 == 0) /* i * 0 ==> 0 */
1051 return INT64FOLD(0); 1051 return INT64FOLD(0);
1052#if LJ_64
1053 /* NYI: SPLIT for BSHL and 32 bit backend support. */
1052 else if (ir_kint64(fright)->u64 < 0x80000000u) 1054 else if (ir_kint64(fright)->u64 < 0x80000000u)
1053 return simplify_intmul_k(J, (int32_t)ir_kint64(fright)->u64); 1055 return simplify_intmul_k(J, (int32_t)ir_kint64(fright)->u64);
1056#endif
1054 return NEXTFOLD; 1057 return NEXTFOLD;
1055} 1058}
1056 1059