Unroll loop runs slow

Hello, These days I constructed some PrimFunc files and I found that the unroll loop ran more slower than the other forkind loop in some situations.

I tested the For statement with different forkind and a big length of the loop. I’m curious about the reason why the unroll loop runs more slower with the big extent.

import tvm
from tvm import tir
import time

c1=tir.const(32450,'uint32')
c2=tir.const(15000000,'uint32')
v1=tir.Var('v1','uint32')
for1=tir.For(v1,c1,c2,3,tir.Evaluate(1))
f1=tir.PrimFunc([],for1)
for2=tir.For(v1,c1,c2,1,tir.Evaluate(1))
f2=tir.PrimFunc([],for2)
for3=tir.For(v1,c1,c2,0,tir.Evaluate(1))
f3=tir.PrimFunc([],for3)

t0=time.time()
tvm.build(f2)
print(time.time()-t0)

t1=time.time()
tvm.build(f3)
print(time.time()-t1)

t2=time.time()
tvm.build(f1)
print(time.time()-t2)

the running speeds are: speed