Skip to content

Instantly share code, notes, and snippets.

@jenatali
Created January 4, 2022 02:57
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 jenatali/5b63dd698150464eb3067cdb19c3f483 to your computer and use it in GitHub Desktop.
Save jenatali/5b63dd698150464eb3067cdb19c3f483 to your computer and use it in GitHub Desktop.
not_this_label:
int value = 0;
for (unsigned i = 0; i < 5; ++i) {
value += some_expression(i);
}
value = some_other_expression(i);
i_want_this_label:
for (unsigned j = 0; j < 5; ++j) {
not_this_label:
int value_i_care_about = invocation_id * value + j;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment