mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
4b17a6a2ff
@ -1227,7 +1227,7 @@ LJFOLDF(simplify_conv_sext)
|
|||||||
if (ref == J->scev.idx) {
|
if (ref == J->scev.idx) {
|
||||||
IRRef lo = J->scev.dir ? J->scev.start : J->scev.stop;
|
IRRef lo = J->scev.dir ? J->scev.start : J->scev.stop;
|
||||||
lua_assert(irt_isint(J->scev.t));
|
lua_assert(irt_isint(J->scev.t));
|
||||||
if (lo && IR(lo)->i + ofs >= 0) {
|
if (lo && IR(lo)->o == IR_KINT && IR(lo)->i + ofs >= 0) {
|
||||||
ok_reduce:
|
ok_reduce:
|
||||||
#if LJ_TARGET_X64
|
#if LJ_TARGET_X64
|
||||||
/* Eliminate widening. All 32 bit ops do an implicit zero-extension. */
|
/* Eliminate widening. All 32 bit ops do an implicit zero-extension. */
|
||||||
|
Loading…
Reference in New Issue
Block a user