Further work on loop wrapper for sequential_llvm.