1 ; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -verify-machineinstrs < %s
4 ; Test that the Machine Instruction PHI node doesn't have more than one operand
5 ; from the same predecessor.
6 define i32 @foo(i32 %a, i32 %b, i1 %c) {
8 br i1 %c, label %switch, label %direct
11 switch i32 %a, label %exit [
12 i32 43, label %continue
13 i32 45, label %continue
21 %var.phi = phi i32 [ %var, %direct ], [ 0, %switch ], [ 0, %switch ]