1 ; This test ensures that alloca instructions in the entry block for an inlined
2 ; function are moved to the top of the function they are inlined into.
4 ; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | %prcontext alloca 1 | grep Entry:
14 int %main(int %argc) {
17 %X = call int %func(int 7)
18 %Y = add int %X, %argc