• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -loop-deletion -S | grep switch
2; PR 1564
3
4define fastcc void @out() {
5    start:
6            br label %loop
7    unreachable:
8            unreachable
9    loop:
10            switch i32 0, label %unreachable [
11                     i32 0, label %loop
12            ]
13}
14