1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -S -passes="simplifycfg<forward-switch-cond;no-keep-loops>" < %s | FileCheck %s
7 ; CHECK-NEXT: br label [[LOOP2:%.*]]
9 ; CHECK-NEXT: br label [[LOOP2]]
15 %phi1 = phi i8 [ 0, %entry ], [ %phi2, %loop2 ]
19 %phi2 = phi i8 [ %phi1, %loop ], [ 0, %loop2 ]
20 switch i8 %phi2, label %loop [