1 ; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-dspass=bu -dsgc-check-flags=Y:SHM && \
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -datastructure-gc -dsgc-dspass=td -dsgc-check-flags=P1:SHM,P2:SHM
4 %G = internal constant [2 x int*(int*)*] [
5 int*(int*)* %callee1, int*(int*)* %callee2
10 internal int* %callee1(int* %P1) {
14 internal int* %callee2(int* %P2) {
19 void %caller(int %callee) {
20 %FPP = getelementptr [2 x int*(int*)*]* %G, int 0, int %callee
21 %FP = load int*(int*)** %FPP
24 %Z = call int* %FP(int* %Y)