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