Mill Computing, Inc. Forums The Mill Tools Compilers Loop compilation Reply To: Loop compilation

Ivan Godard
Keymaster
Post count: 627

Witold – Mill branches can only be to the head of an ebb, so you can’t both fall into the epilog and also branch to it. That’s why there’s a “leaves” op in the actual asm. Having the prologue branch around the loop body is not something the specializer does, it’s from LLVM and you should see it when compiling for other architectures too.