Skip to content

Instantly share code, notes, and snippets.

@paniq
Created April 18, 2020 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paniq/830972e92af4260d0e0d83f588dcab25 to your computer and use it in GitHub Desktop.
Save paniq/830972e92af4260d0e0d83f588dcab25 to your computer and use it in GitHub Desktop.
label break
loop (%1 = 0)
label continue
%2 = icmpeq %1 10
condbr %2
true:
merge break
false:
loop-body...
merge continue
%3 = (add %1 1)
repeat %3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment