Skip to content

Instantly share code, notes, and snippets.

@nicolas17
Last active July 22, 2020 21:24
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 nicolas17/b3fc90d8b135b7148a8070865c1329b8 to your computer and use it in GitHub Desktop.
Save nicolas17/b3fc90d8b135b7148a8070865c1329b8 to your computer and use it in GitHub Desktop.
opt reduced.ll --ipsccp -S
; ModuleID = 'reduced.ll'
source_filename = "reduced.ll"
define void @_mesa_test_texobj_completeness(i32* %0) {
%2 = icmp uge i64 undef, undef
%3 = icmp slt i64 undef, undef
%4 = and i1 %3, %2
br i1 undef, label %exit, label %a
a:
br label %x1
x1:
br i1 %4, label %x2, label %exit
x2:
br i1 %4, label %x3, label %exit
x3:
br i1 %4, label %exit, label %exit
exit:
ret void
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment