Skip to content

Instantly share code, notes, and snippets.

@jdoerfert
Last active August 2, 2020 00:05
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 jdoerfert/62512a5d5126db3b9cdac5a4f6616871 to your computer and use it in GitHub Desktop.
Save jdoerfert/62512a5d5126db3b9cdac5a4f6616871 to your computer and use it in GitHub Desktop.
define internal void @dead() {
call void @caller()
ret void
}
define internal void @test() {
br i1 true, label %live, label %dead
live:
ret void
dead:
call void @caller()
call void @dead()
ret void
}
define void @caller() {
call void @test()
ret void
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment