LLVM loops possibly working