blob: 836d6147f231e55c320aca34361255108de04f42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | grep 'ret i32 %A'
int %test(int %A) {
%X = or bool false, false
br bool %X, label %T, label %C
T:
%B = add int %A, 1
br label %C
C:
%C = phi int [%B, %T], [%A, %0]
ret int %C
}
|