<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Sergey,</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 21.08.2024 11:58, Sergey Kaplun
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:edbf36b79d0e62644284abef4c95cd99a76a895f.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">This patch removes the aforementioned test since it is part of the
<opt/loop/unroll.lua> test.
Part of tarantool/tarantool#9398
---</pre>
</blockquote>
thanks for the patch! LGTM<br>
<blockquote type="cite"
cite="mid:edbf36b79d0e62644284abef4c95cd99a76a895f.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">
test/LuaJIT-tests/misc/loop_unroll.lua | 35 --------------------------
1 file changed, 35 deletions(-)
delete mode 100644 test/LuaJIT-tests/misc/loop_unroll.lua
diff --git a/test/LuaJIT-tests/misc/loop_unroll.lua b/test/LuaJIT-tests/misc/loop_unroll.lua
deleted file mode 100644
index 1700fac9..00000000
--- a/test/LuaJIT-tests/misc/loop_unroll.lua
+++ /dev/null
@@ -1,35 +0,0 @@
-
--- type instability on loop unroll -> record unroll
-do
- local flip = true
- for i=1,100 do flip = not flip end
- assert(flip == true)
-end
-
-do
- local t = {}
- local a, b, c = 1, "", t
- for i=1,100 do a,b,c=b,c,a end
- assert(c == 1 and a == "" and b == t)
-end
-
--- FAILFOLD on loop unroll -> LJ_TRERR_GFAIL -> record unroll
-do
- local t = { 1, 2 }
- local k = 2
- local x = 0
- for i=1,200 do
- x = x + t[k]
- k = k == 1 and 2 or 1
- end
- assert(x == 300 and k == 2)
-end
-
--- Unroll if inner loop aborts.
-local j = 0
-for i = 1,100 do
- repeat
- j = j+1
- until true
-end
-
</pre>
</blockquote>
</body>
<lt-container></lt-container>
</html>